From 4f1ee28d687d583601d41ff58e1618b381d2675f Mon Sep 17 00:00:00 2001 From: Katja Date: Sun, 6 Nov 2011 14:41:44 +0000 Subject: made creb compliant with double precision - changed float to t_float - adapted subnormal detection svn path=/trunk/externals/creb/; revision=15706 --- modules++/biquadseries~.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules++/biquadseries~.cc') diff --git a/modules++/biquadseries~.cc b/modules++/biquadseries~.cc index 40b3aef..9a952c5 100644 --- a/modules++/biquadseries~.cc +++ b/modules++/biquadseries~.cc @@ -54,15 +54,15 @@ static t_int *biquadseries_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]); DSPIfilterSeries* biquadseries = (DSPIfilterSeries *)(w[1]); t_int n = (t_int)(w[2]); t_int i; t_float x; // dit kan beter - float smooth = .01; + t_float smooth = .01; //1.0f - pow(.9f,1.0f/(float)(n)); for (i = 0; i < n; i++) -- cgit v1.2.1