From 40851b7cac34abb708d12ce5bf110ffb15af6819 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Jun 2009 22:20:36 +0200 Subject: 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. --- src/output_all.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/output_all.c') 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) { -- cgit v1.2.3