aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-08-20 02:34:53 -0700
committerEric Wong <normalperson@yhbt.net>2008-08-20 02:34:53 -0700
commit528494a1b13723ba310641c42e41edc4282f6d5a (patch)
tree58c9e802db3b6f20cb19041c6fbb411413b3d28d
parent1b197e65232e1a51b853db53985e8eda61f1b196 (diff)
downloadmpd-528494a1b13723ba310641c42e41edc4282f6d5a.tar.gz
mpd-528494a1b13723ba310641c42e41edc4282f6d5a.tar.xz
mpd-528494a1b13723ba310641c42e41edc4282f6d5a.zip
outputBuffer: drop buffered audio on new songs
Hopefully this fixes the skipping problem Qball reports
-rw-r--r--src/outputBuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index aca84d07f..12ab6eb2d 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -213,6 +213,7 @@ static enum action_status ob_do_reset(void)
ob.elapsed_time = 0;
ob.total_time = 0;
reader_reset_buffer();
+ dropBufferedAudio();
ob.xfade_state = XFADE_DISABLED;
ob_seq_player_set((unsigned int)ob.seq_decoder);
return ob_finalize_action();