diff options
author | Katja <katjav@users.sourceforge.net> | 2011-11-06 14:41:44 +0000 |
---|---|---|
committer | Katja <katjav@users.sourceforge.net> | 2011-11-06 14:41:44 +0000 |
commit | 4f1ee28d687d583601d41ff58e1618b381d2675f (patch) | |
tree | eb9df33c9928ec11de287a1d70ec714c9a3b9f7c /modules++/biquadseries~.cc | |
parent | 4a05094c9a009707674c079c0481eaf8e1f8490f (diff) |
made creb compliant with double precision
- changed float to t_float
- adapted subnormal detection
svn path=/trunk/externals/creb/; revision=15706
Diffstat (limited to 'modules++/biquadseries~.cc')
-rw-r--r-- | modules++/biquadseries~.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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++) |