diff options
author | Thom Johansen <thomj@rockbox.org> | 2006-03-19 16:31:45 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2006-03-19 16:31:45 +0000 |
commit | ea4ccb5abab7f3a775b0c1fee1a50a8840b09d47 (patch) | |
tree | 24d2d5d5da23c90eb25c23fa43c036710f5cb046 /apps/eq.c | |
parent | f383cc14bd7d1c567fb283af4b3af252a2a3f6c9 (diff) | |
download | rockbox-ea4ccb5abab7f3a775b0c1fee1a50a8840b09d47.tar.gz rockbox-ea4ccb5abab7f3a775b0c1fee1a50a8840b09d47.zip |
Samples should always be 32 bit on all platforms, so change most
occurences of long to int32_t to enable working sounds also on 64 bit
sims. Note that some codecs (MP3 and Wavpack) still have other 64
bit related problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/eq.c')
-rw-r--r-- | apps/eq.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,6 +17,7 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | #include <inttypes.h> | ||
20 | #include "config.h" | 21 | #include "config.h" |
21 | #include "eq.h" | 22 | #include "eq.h" |
22 | 23 | ||
@@ -214,7 +215,7 @@ void eq_hs_coefs(unsigned long cutoff, unsigned long Q, long db, long *c) | |||
214 | } | 215 | } |
215 | 216 | ||
216 | #if (!defined(CPU_COLDFIRE) && !defined(CPU_ARM)) || defined(SIMULATOR) | 217 | #if (!defined(CPU_COLDFIRE) && !defined(CPU_ARM)) || defined(SIMULATOR) |
217 | void eq_filter(long **x, struct eqfilter *f, unsigned num, | 218 | void eq_filter(int32_t **x, struct eqfilter *f, unsigned num, |
218 | unsigned channels, unsigned shift) | 219 | unsigned channels, unsigned shift) |
219 | { | 220 | { |
220 | unsigned c, i; | 221 | unsigned c, i; |