tests/src/test-filter.c: add missing channels argument to new_aubio_cdsgn_filter
authorPaul Brossier <piem@piem.org>
Tue, 13 May 2008 06:45:37 +0000 (08:45 +0200)
committerPaul Brossier <piem@piem.org>
Tue, 13 May 2008 06:45:37 +0000 (08:45 +0200)
tests/src/test-filter.c

index 37dd8d058fa451cb25103eb469a0b944990daf1d..0bd800dc51e2205da0a9848a1523ebbd9a062c67 100644 (file)
@@ -8,7 +8,7 @@ int main(){
         fvec_t * out      = new_fvec (win_s, channels);     /* input buffer */
   
         /* allocate fft and other memory space */
-        aubio_filter_t * o = new_aubio_cdsgn_filter(44100);
+        aubio_filter_t * o = new_aubio_cdsgn_filter(44100, channels);
 
         aubio_filter_do(o,in);
         aubio_filter_do_outplace(o,in,out);