diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-08 17:22:41 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-08 17:22:41 +0000 |
commit | 4a05094c9a009707674c079c0481eaf8e1f8490f (patch) | |
tree | d63533d6b056451337017faa6deb69ea55788c2e /modules/fwarp.c | |
parent | c39d22e4bd9c3b06c4199ea59d0a7faa51401f7f (diff) |
converted float to t_float to support double-precision Pd, creb still needs to separate t_float and t_sample tho
svn path=/trunk/externals/creb/; revision=15546
Diffstat (limited to 'modules/fwarp.c')
-rw-r--r-- | modules/fwarp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/fwarp.c b/modules/fwarp.c index 28fe024..089edf2 100644 --- a/modules/fwarp.c +++ b/modules/fwarp.c @@ -32,8 +32,8 @@ typedef struct fwarp static void fwarp_float(t_fwarp *x, t_floatarg f) { - float twopi = 2.0f * M_PI; - float sr = sys_getsr(); + t_float twopi = 2.0f * M_PI; + t_float sr = sys_getsr(); f /= sr; f = tan(twopi * f) / twopi; outlet_float(x->x_out, f * sr); |