From 150851f2c5c22d170d5353e938a5555039b3dd7a Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sat, 19 Oct 2024 10:42:24 -0700 Subject: [PATCH] Set filename in ZSM backend --- backends/playback/zsm/zsm_backend.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/playback/zsm/zsm_backend.cpp b/backends/playback/zsm/zsm_backend.cpp index c9b497d..214cbc1 100644 --- a/backends/playback/zsm/zsm_backend.cpp +++ b/backends/playback/zsm/zsm_backend.cpp @@ -39,6 +39,7 @@ std::vector ZsmBackend::get_property_list() { } void ZsmBackend::load(const char *filename) { memset(&spec, 0, sizeof(spec)); + current_file = filename; spec.format = AUDIO_S16SYS; spec.samples = 100; spec.channels = 2;