From 2a0fa93b16969be8a3c0a6869c05751d753a6abe Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Mon, 21 Mar 2005 03:54:14 +0000 Subject: drop the current audio buffer when seeking git-svn-id: https://svn.musicpd.org/mpd/trunk@3107 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/decode.c b/src/decode.c index c91b5c92a..fc91cd708 100644 --- a/src/decode.c +++ b/src/decode.c @@ -246,6 +246,7 @@ int decodeSeek(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb, if(pause) closeAudioDevice(); \ } \ if(pc->seek) { \ + dropBufferedAudio(); \ if(decodeSeek(pc,dc,cb,&decodeWaitedOn,&next) == 0) { \ doCrossFade = 0; \ nextChunk = -1; \ -- cgit v1.2.3