shithub: aubio

Download patch

ref: cfa0f12a613d3425efeeddc68e5dbf1bb1181f0c
parent: 33916b8718563444fc6498083b41af0c0cf2bb78
author: Paul Brossier <piem@piem.org>
date: Wed Oct 7 16:11:00 EDT 2009

tests/src/test-filter.c: avoid redefining o

--- a/tests/src/test-filter.c
+++ b/tests/src/test-filter.c
@@ -17,7 +17,7 @@
   fvec_print (in);
   del_aubio_filter (o);
 
-  aubio_filter_t *o = new_aubio_filter_c_weighting (44100, channels);
+  o = new_aubio_filter_c_weighting (44100, channels);
   in->data[0][12] = 0.5;
   fvec_print (in);
   aubio_filter_do_outplace (o, in, out);
@@ -24,7 +24,7 @@
   fvec_print (out);
   del_aubio_filter (o);
 
-  aubio_filter_t *o = new_aubio_filter_c_weighting (44100, channels);
+  o = new_aubio_filter_c_weighting (44100, channels);
   in->data[0][12] = 0.5;
   fvec_print (in);
   aubio_filter_do_filtfilt (o, in, out);