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:
parent
84c2e84570
commit
40851b7cac
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue