diff options
author | Max Kellermann <max@duempel.org> | 2009-06-29 22:20:36 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-06-29 22:20:36 +0200 |
commit | 40851b7cac34abb708d12ce5bf110ffb15af6819 (patch) | |
tree | 4371fc58a6e364b6d4a854bb6ac7d0e25eb143d0 /src | |
parent | 84c2e8457060297a1ccafc5317e1715a1f2f7656 (diff) | |
download | mpd-40851b7cac34abb708d12ce5bf110ffb15af6819.tar.gz mpd-40851b7cac34abb708d12ce5bf110ffb15af6819.tar.xz mpd-40851b7cac34abb708d12ce5bf110ffb15af6819.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/output_all.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/output_all.c b/src/output_all.c index c6fb0f481..4b5ba3a6f 100644 --- a/src/output_all.c +++ b/src/output_all.c @@ -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) { |