summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2008-03-30 10:08:08 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2008-03-30 10:08:08 +0000
commit63acf3eb167cab7722e61e857a109b718ff2b561 (patch)
tree62dbc776096c59e94bcae2bdb0ff4b85a275602e
parentad74906e18eb43df923ea686fa4d6b650fead72c (diff)
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
-rw-r--r--apps/playback.c6
1 files changed, 5 insertions, 1 deletions
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;