Commit 2b578631 authored by Max Kellermann's avatar Max Kellermann

output_all: clear input_audio_format on close

When the audio outputs are closed, also clear the audio format. If we don't do this, every call to audio_output_all_update() will open the device, even if it's meant to be paused.
parent f2ec6ee1
...@@ -443,4 +443,6 @@ audio_output_all_close(void) ...@@ -443,4 +443,6 @@ audio_output_all_close(void)
} }
g_music_buffer = NULL; g_music_buffer = NULL;
audio_format_clear(&input_audio_format);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment