From 4a05094c9a009707674c079c0481eaf8e1f8490f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 8 Oct 2011 17:22:41 +0000 Subject: 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 --- modules/dwt~.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'modules/dwt~.c') 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]); -- cgit v1.2.1