From 201a9e763213f555d6797d0c6cad26a533fa75a5 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Sat, 27 Oct 2012 13:58:28 +0000 Subject: creb: tabreadmix~ changes + build fixes + 32/64 bit fixes svn path=/trunk/externals/creb/; revision=16491 --- modules++/blosc~.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules++/blosc~.cc') 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 #include +#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 */ -- cgit v1.2.1