From 5e869f7a0cef88be3b03272303a6084b8bd1a7e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 30 Oct 2007 09:21:52 +0000 Subject: use t_float and t_sample when possible svn path=/trunk/externals/zexy/; revision=8907 --- src/swap~.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/swap~.c') 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]); -- cgit v1.2.1