aboutsummaryrefslogtreecommitdiff
path: root/src/swap~.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-10-30 09:21:52 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-10-30 09:21:52 +0000
commit5e869f7a0cef88be3b03272303a6084b8bd1a7e3 (patch)
tree8d5e0dfc39eb696f5b457b3376dd6eb7de17b538 /src/swap~.c
parent6d61e2a46722b75c1a3734e3419ee2886b11b2b3 (diff)
use t_float and t_sample when possible
svn path=/trunk/externals/zexy/; revision=8907
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]);