Set filename in ZSM backend
This commit is contained in:
parent
51d14cefa1
commit
150851f2c5
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ std::vector<Property> ZsmBackend::get_property_list() {
|
||||||
}
|
}
|
||||||
void ZsmBackend::load(const char *filename) {
|
void ZsmBackend::load(const char *filename) {
|
||||||
memset(&spec, 0, sizeof(spec));
|
memset(&spec, 0, sizeof(spec));
|
||||||
|
current_file = filename;
|
||||||
spec.format = AUDIO_S16SYS;
|
spec.format = AUDIO_S16SYS;
|
||||||
spec.samples = 100;
|
spec.samples = 100;
|
||||||
spec.channels = 2;
|
spec.channels = 2;
|
||||||
|
|
Loading…
Reference in a new issue