path: root/apps/eq.c
diff options
authorThom Johansen <>2006-03-19 16:31:45 +0000
committerThom Johansen <>2006-03-19 16:31:45 +0000
commitea4ccb5abab7f3a775b0c1fee1a50a8840b09d47 (patch)
tree24d2d5d5da23c90eb25c23fa43c036710f5cb046 /apps/eq.c
parentf383cc14bd7d1c567fb283af4b3af252a2a3f6c9 (diff)
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:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/eq.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/eq.c b/apps/eq.c
index 0a835d5484..cb7086a7e3 100644
--- a/apps/eq.c
+++ b/apps/eq.c
@@ -17,6 +17,7 @@
+#include <inttypes.h>
#include "config.h"
#include "eq.h"
@@ -214,7 +215,7 @@ void eq_hs_coefs(unsigned long cutoff, unsigned long Q, long db, long *c)
#if (!defined(CPU_COLDFIRE) && !defined(CPU_ARM)) || defined(SIMULATOR)
-void eq_filter(long **x, struct eqfilter *f, unsigned num,
+void eq_filter(int32_t **x, struct eqfilter *f, unsigned num,
unsigned channels, unsigned shift)
unsigned c, i;