summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-02-01 08:36:56 +0000
committerThom Johansen <thomj@rockbox.org>2006-02-01 08:36:56 +0000
commit98c37c7f89e811ad65a811cb408231b42f0c638a (patch)
tree83a27616e93fc6df2ce301259de7d1800d0b4d88 /apps
parent146fe6cfb55277898a7e3d1ba20d0c5c054ffcf3 (diff)
downloadrockbox-98c37c7f89e811ad65a811cb408231b42f0c638a.tar.gz
rockbox-98c37c7f89e811ad65a811cb408231b42f0c638a.zip
Enable ARM EQ support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8518 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/SOURCES2
-rw-r--r--apps/eq.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/SOURCES b/apps/SOURCES
index cd2316fc24..549070b8d1 100644
--- a/apps/SOURCES
+++ b/apps/SOURCES
@@ -79,5 +79,7 @@ dsp.c
eq.c
#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
eq_cf.S
+#elif defined(CPU_ARM) && !defined(SIMULATOR)
+eq_arm.S
#endif
#endif
diff --git a/apps/eq.c b/apps/eq.c
index 3d2f8d133d..57c29dc357 100644
--- a/apps/eq.c
+++ b/apps/eq.c
@@ -213,7 +213,7 @@ void eq_hs_coefs(unsigned long cutoff, unsigned long Q, long db, long *c)
c[4] = DIV64(-a2, a0, 24);
}
-#if !defined(CPU_COLDFIRE) || defined(SIMULATOR)
+#if (!defined(CPU_COLDFIRE) && !defined(CPU_ARM)) || defined(SIMULATOR)
void eq_filter(long **x, struct eqfilter *f, unsigned num,
unsigned channels, unsigned shift)
{