Commit 40851b7c authored by Max Kellermann's avatar Max Kellermann

output_all: don't resume playback when stopping during pause

When MPD was paused, and the client sent the "stop" command (or "clear"), a glitch caused MPD to continue playback for a split second. This was because audio_output_all_cancel() calls audio_output_all_update(), which reopens all output devices, and re-ignites the playback loop.
parent 84c2e845
ver 0.15.1 (2009/??/??)
* commands:
- don't resume playback when stopping during pause
ver 0.15 (2009/06/23)
......
......@@ -439,8 +439,6 @@ audio_output_all_cancel(void)
{
unsigned int i;
audio_output_all_update();
/* send the cancel() command to all audio outputs */
for (i = 0; i < num_audio_outputs; ++i) {
......
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