tests/src/: no more arguments for peakpicker
authorPaul Brossier <piem@piem.org>
Sat, 5 Dec 2009 01:16:22 +0000 (02:16 +0100)
committerPaul Brossier <piem@piem.org>
Sat, 5 Dec 2009 01:16:22 +0000 (02:16 +0100)
tests/src/test-peakpick.c

index 42aff7dc7510620adca494d846258ccdea8fe176..1ce6bb4532c926c5d4abf3e256fd2dbe5c06c0e5 100644 (file)
@@ -7,7 +7,7 @@ int main(){
         uint_t win_s      = 1024;                       /* window size */
         fvec_t * in       = new_fvec (win_s); /* input buffer */
         fvec_t * out      = new_fvec (1); /* input buffer */
-        aubio_peakpicker_t * o = new_aubio_peakpicker(1);
+        aubio_peakpicker_t * o = new_aubio_peakpicker();
         aubio_peakpicker_set_threshold (o, 0.3);
 
         aubio_peakpicker_do(o, in, out);