From 9e0953432a3a73cd42e77c804a4557b5337e0d0f Mon Sep 17 00:00:00 2001 From: Jeffrey Goode Date: Tue, 10 Nov 2009 03:46:08 +0000 Subject: 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 --- apps/codec_thread.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/codec_thread.c') 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(); } -- cgit v1.2.3