summaryrefslogtreecommitdiffstats
path: root/apps/codec_thread.c
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-11-10 03:46:08 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-11-10 03:46:08 +0000
commit9e0953432a3a73cd42e77c804a4557b5337e0d0f (patch)
tree49b5a4fadb1d64e9e03228cebd78e4011fde70b1 /apps/codec_thread.c
parent78f8667d57e13ef579c892ccc5483b8baafd2fe6 (diff)
downloadrockbox-9e0953432a3a73cd42e77c804a4557b5337e0d0f.tar.gz
rockbox-9e0953432a3a73cd42e77c804a4557b5337e0d0f.tar.bz2
rockbox-9e0953432a3a73cd42e77c804a4557b5337e0d0f.zip
Crossfade: carved out crossfade related code with lots of HAVE_CORSSFADE conditionals, eliminated fade buffer on low memory targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23597 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codec_thread.c')
-rw-r--r--apps/codec_thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c
index 13b203ee30..dc6533dfc9 100644
--- a/apps/codec_thread.c
+++ b/apps/codec_thread.c
@@ -475,7 +475,10 @@ static void codec_thread(void)
while (1) {
status = 0;
- if (!pcmbuf_is_crossfade_active()) {
+#ifdef HAVE_CROSSFADE
+ if (!pcmbuf_is_crossfade_active())
+#endif
+ {
cancel_cpu_boost();
}