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.
This commit is contained in:
Max Kellermann 2009-03-10 21:04:47 +01:00
parent f2ec6ee184
commit 2b57863144

View File

@ -443,4 +443,6 @@ audio_output_all_close(void)
}
g_music_buffer = NULL;
audio_format_clear(&input_audio_format);
}