aboutsummaryrefslogtreecommitdiff
path: root/modules/dwt~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-08 17:22:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-08 17:22:41 +0000
commit4a05094c9a009707674c079c0481eaf8e1f8490f (patch)
treed63533d6b056451337017faa6deb69ea55788c2e /modules/dwt~.c
parentc39d22e4bd9c3b06c4199ea59d0a7faa51401f7f (diff)
converted float to t_float to support double-precision Pd, creb still needs to separate t_float and t_sample tho
svn path=/trunk/externals/creb/; revision=15546
Diffstat (limited to 'modules/dwt~.c')
-rw-r--r--modules/dwt~.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/dwt~.c b/modules/dwt~.c
index 9ab3bcc..9634002 100644
--- a/modules/dwt~.c
+++ b/modules/dwt~.c
@@ -298,7 +298,7 @@ static void dwt_filter(t_dwt *x, t_symbol *s, int argc, t_atom *argv)
-static inline void dwtloop(float *vector,
+static inline void dwtloop(t_float *vector,
int source,
int dest,
int increment,
@@ -331,7 +331,7 @@ static inline void dwtloop(float *vector,
}
-static inline void dwtloop16(float *vector,
+static inline void dwtloop16(t_float *vector,
int source,
int dest,
int increment,
@@ -430,8 +430,8 @@ static t_int *dwt_perform(t_int *w)
{
- t_float *in = (float *)(w[3]);
- t_float *out = (float *)(w[4]);
+ t_float *in = (t_float *)(w[3]);
+ t_float *out = (t_float *)(w[4]);
t_dwtctl *ctl = (t_dwtctl *)(w[1]);
@@ -499,8 +499,8 @@ static t_int *idwt_perform(t_int *w)
{
- t_float *in = (float *)(w[3]);
- t_float *out = (float *)(w[4]);
+ t_float *in = (t_float *)(w[3]);
+ t_float *out = (t_float *)(w[4]);
t_dwtctl *ctl = (t_dwtctl *)(w[1]);
@@ -567,8 +567,8 @@ static t_int *dwt16_perform(t_int *w)
{
- t_float *in = (float *)(w[3]);
- t_float *out = (float *)(w[4]);
+ t_float *in = (t_float *)(w[3]);
+ t_float *out = (t_float *)(w[4]);
t_dwtctl *ctl = (t_dwtctl *)(w[1]);
@@ -636,8 +636,8 @@ static t_int *idwt16_perform(t_int *w)
{
- t_float *in = (float *)(w[3]);
- t_float *out = (float *)(w[4]);
+ t_float *in = (t_float *)(w[3]);
+ t_float *out = (t_float *)(w[4]);
t_dwtctl *ctl = (t_dwtctl *)(w[1]);