diff options
author | Tom Schouten <doelie@users.sourceforge.net> | 2012-10-27 13:58:28 +0000 |
---|---|---|
committer | Tom Schouten <doelie@users.sourceforge.net> | 2012-10-27 13:58:28 +0000 |
commit | 201a9e763213f555d6797d0c6cad26a533fa75a5 (patch) | |
tree | 2fb38504fe5c029d731f23d35c8db95a553d7c8e /modules++ | |
parent | 99c67991f9a3c49485bc40b05f8ce85ecd838da5 (diff) |
creb: tabreadmix~ changes + build fixes + 32/64 bit fixes
svn path=/trunk/externals/creb/; revision=16491
Diffstat (limited to 'modules++')
-rw-r--r-- | modules++/blosc~.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules++/blosc~.cc b/modules++/blosc~.cc index 9028eaf..8934904 100644 --- a/modules++/blosc~.cc +++ b/modules++/blosc~.cc @@ -25,13 +25,11 @@ #include <stdlib.h> #include <string.h> +#include "../modules/extlib_util.h" #include "DSPIcomplex.h" #include "DSPIfilters.h" -typedef unsigned long long u64; -typedef unsigned long u32; - #define LPHASOR (8*sizeof(u32)) // the phasor logsize @@ -471,7 +469,7 @@ static void blosc_dsp(t_blosc *x, t_signal **sp) int n = sp[0]->s_n; /* set sampling rate scaling for phasors */ - x->x_ctl.c_phase_inc_scale = 4.0 * (t_float)(1<<(LPHASOR-2)) / sys_getsr(); + x->x_ctl.c_phase_inc_scale = 4.0 * ((t_float)(1<<(LPHASOR-2))) / sys_getsr(); /* setup & register the correct process routine depending on the waveform */ |