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
This commit is contained in:
Michael Sevakis 2011-02-25 03:51:52 +00:00
parent 9f0bad0efe
commit ba8ce00bfc

View file

@ -696,6 +696,7 @@ void pcmbuf_play_stop(void)
write_end_chunk = read_end_chunk; write_end_chunk = read_end_chunk;
read_chunk = read_end_chunk = NULL; read_chunk = read_end_chunk = NULL;
} }
last_chunksize = 0;
pcmbuffer_pos = 0; pcmbuffer_pos = 0;
pcmbuffer_fillpos = 0; pcmbuffer_fillpos = 0;
#ifdef HAVE_CROSSFADE #ifdef HAVE_CROSSFADE