aboutsummaryrefslogtreecommitdiff
path: root/src/swap~.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/swap~.c')
-rw-r--r--src/swap~.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/swap~.c b/src/swap~.c
index 41b9023..65ecb5b 100644
--- a/src/swap~.c
+++ b/src/swap~.c
@@ -14,10 +14,10 @@
******************************************************/
/*
- the long waited for swap~-object that does a byte swap
- of course, we unfortunately have to quantize the float-signal to 16bit (to get bytes)
+ the long waited for swap~-object that does a byte swap
+ of course, we unfortunately have to quantize the float-signal to 16bit (to get bytes)
- 1110:forum::für::umläute:1999
+ 1110:forum::für::umläute:1999
*/
#include "zexy.h"
@@ -47,8 +47,8 @@ static void swap_bang(t_swap *x)
static t_int *swap_perform(t_int *w)
{
t_swap *x = (t_swap *)(w[1]);
- t_float *in = (t_float *)(w[2]);
- t_float *out = (t_float *)(w[3]);
+ t_sample *in = (t_sample *)(w[2]);
+ t_sample *out = (t_sample *)(w[3]);
int n = (int)(w[4]);