diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-03-30 10:08:08 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-03-30 10:08:08 +0000 |
commit | 63acf3eb167cab7722e61e857a109b718ff2b561 (patch) | |
tree | 62dbc776096c59e94bcae2bdb0ff4b85a275602e | |
parent | ad74906e18eb43df923ea686fa4d6b650fead72c (diff) | |
download | rockbox-63acf3eb167cab7722e61e857a109b718ff2b561.tar.gz rockbox-63acf3eb167cab7722e61e857a109b718ff2b561.zip |
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.c | 6 |
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) | |||
1233 | 1233 | ||
1234 | while (1) { | 1234 | while (1) { |
1235 | status = 0; | 1235 | status = 0; |
1236 | cancel_cpu_boost(); | 1236 | |
1237 | if (!pcmbuf_is_crossfade_active()) { | ||
1238 | cancel_cpu_boost(); | ||
1239 | } | ||
1240 | |||
1237 | queue_wait(&codec_queue, &ev); | 1241 | queue_wait(&codec_queue, &ev); |
1238 | codec_requested_stop = false; | 1242 | codec_requested_stop = false; |
1239 | 1243 | ||