diff options
Diffstat (limited to 'modules/bitsplit~.c')
-rw-r--r-- | modules/bitsplit~.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/bitsplit~.c b/modules/bitsplit~.c index e89b078..bed3750 100644 --- a/modules/bitsplit~.c +++ b/modules/bitsplit~.c @@ -51,9 +51,9 @@ static t_int *bitsplit_perform(t_int *word) t_int i,j; for (i=0;i<n;i++){ - long word = (in[i] * (float)(0x7fffffff)); + long word = (in[i] * (t_float)(0x7fffffff)); for (j=0; j<outputs; j++){ - out[j][i] = (float)((word >> 31) & 1); + out[j][i] = (t_float)((word >> 31) & 1); word <<= 1; } } @@ -90,7 +90,7 @@ static void *bitsplit_new(t_floatarg channels) if (i<1) i = 1; if (i>MAXCHANNELS) i = MAXCHANNELS; x->x_ctl.c_outputs = i; - x->x_ctl.c_output = malloc(sizeof(float)*i); + x->x_ctl.c_output = malloc(sizeof(t_float)*i); while (i--) outlet_new(&x->x_obj, gensym("signal")); |