summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-02-25 03:51:52 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-02-25 03:51:52 +0000
commitba8ce00bfc48c93fd3e4dee88f376c2029a7dbb0 (patch)
treeac363eadea5d6c578c5b56495bdcfe0496bf9d95 /apps/pcmbuf.c
parent9f0bad0efe46237c18d7fb7074bdc60afc42c2ca (diff)
downloadrockbox-ba8ce00bfc48c93fd3e4dee88f376c2029a7dbb0.tar.gz
rockbox-ba8ce00bfc48c93fd3e4dee88f376c2029a7dbb0.tar.bz2
rockbox-ba8ce00bfc48c93fd3e4dee88f376c2029a7dbb0.zip
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
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c1
1 files changed, 1 insertions, 0 deletions
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