aboutsummaryrefslogtreecommitdiff
path: root/externals/extra/lrshift~
diff options
context:
space:
mode:
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;