aboutsummaryrefslogtreecommitdiff
path: root/externals/extra/lrshift~
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-01-18 16:43:02 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-01-18 16:43:02 +0000
commit0a700207f56f18a7bd95f9e2928cd08ee3d8e50a (patch)
tree5f9c829f7611dc24ffe656c21aa794889dba78d8 /externals/extra/lrshift~
parentdc452a6766a4127a3b20fef44f3b1de5fe5a660a (diff)
copied update from 0.43.0test4
svn path=/trunk/; revision=14751
Diffstat (limited to 'externals/extra/lrshift~')
-rw-r--r--externals/extra/lrshift~/lrshift~.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/externals/extra/lrshift~/lrshift~.c b/externals/extra/lrshift~/lrshift~.c
index 166facc1..b3c90ff6 100644
--- a/externals/extra/lrshift~/lrshift~.c
+++ b/externals/extra/lrshift~/lrshift~.c
@@ -13,8 +13,8 @@ typedef struct _lrshift_tilde
static t_int *leftshift_perform(t_int *w)
{
- t_float *in = (t_float *)(w[1]);
- t_float *out= (t_float *)(w[2]);
+ t_sample *in = (t_sample *)(w[1]);
+ t_sample *out= (t_sample *)(w[2]);
int n = (int)(w[3]);
int shift = (int)(w[4]);
in += shift;
@@ -28,8 +28,8 @@ static t_int *leftshift_perform(t_int *w)
static t_int *rightshift_perform(t_int *w)
{
- t_float *in = (t_float *)(w[1]);
- t_float *out= (t_float *)(w[2]);
+ t_sample *in = (t_sample *)(w[1]);
+ t_sample *out= (t_sample *)(w[2]);
int n = (int)(w[3]);
int shift = (int)(w[4]);
n -= shift;