summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-05-05 03:13:06 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-05-05 03:13:06 +0000
commitb9615514bf861a94774fe05dd7a3eeb6bd006ac2 (patch)
treefc4ad5f533396ec1f0b6b859078d7613032eb1b5
parent15a0a17174c58e7d6d20f4128b7a4eddab5478d5 (diff)
Hopefully fix some old audio playing during manual track skip w/o crossfade. Worst case was 1/5 second of audio from pcmbuflen bytes later than the playign position of the old track would play.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9876 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/pcmbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 3b182ee6e7..8d5f4e71c9 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -301,6 +301,7 @@ bool pcmbuf_crossfade_init(bool manual_skip)
if (LOW_DATA(6) || !pcmbuf_is_crossfade_enabled() || low_latency_mode)
{
pcmbuf_boost(true);
+ pcmbuf_flush_fillpos();
pcmbuf_flush = true;
return false;
}