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.
This commit is contained in:
Max Kellermann 2009-06-29 22:20:36 +02:00
parent 84c2e84570
commit 40851b7cac
2 changed files with 2 additions and 2 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.15.1 (2009/??/??)
* commands:
- don't resume playback when stopping during pause
ver 0.15 (2009/06/23)

View File

@ -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) {