From 63acf3eb167cab7722e61e857a109b718ff2b561 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 30 Mar 2008 10:08:08 +0000 Subject: Fixes FS#8597 (dropouts while crossfading) via keeping CPU boosted while crossfading is active. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16889 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/playback.c b/apps/playback.c index 6f9cec682c..319f55a0ce 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -1233,7 +1233,11 @@ static void codec_thread(void) while (1) { status = 0; - cancel_cpu_boost(); + + if (!pcmbuf_is_crossfade_active()) { + cancel_cpu_boost(); + } + queue_wait(&codec_queue, &ev); codec_requested_stop = false; -- cgit v1.2.3