From ba8ce00bfc48c93fd3e4dee88f376c2029a7dbb0 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 25 Feb 2011 03:51:52 +0000 Subject: [PATCH] pcmbuf: Clear last_chunksize at stop so we don't think there's a buffer in progress. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29395 a1c6a512-1295-4272-9138-f99709370657 --- apps/pcmbuf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index 2cec40b7e7..f548b156b3 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c @@ -696,6 +696,7 @@ void pcmbuf_play_stop(void) write_end_chunk = read_end_chunk; read_chunk = read_end_chunk = NULL; } + last_chunksize = 0; pcmbuffer_pos = 0; pcmbuffer_fillpos = 0; #ifdef HAVE_CROSSFADE