shithub: aubio

Download patch

ref: daa4ca906d6c9352b5df093752ee7dcb50879b90
parent: 9facc277ebd57b3aa6d227501770e6f5eaca0e6b
author: Paul Brossier <piem@piem.org>
date: Tue Oct 6 13:28:19 EDT 2009

tests/src/test-peakpick.c: update peakpicker prototype

--- a/tests/src/test-peakpick.c
+++ b/tests/src/test-peakpick.c
@@ -7,10 +7,10 @@
         fvec_t * in       = new_fvec (win_s, channels); /* input buffer */
         aubio_pickpeak_t * o = new_aubio_peakpicker(0.3);
 
-        aubio_peakpick_pimrt(in,o);
-        aubio_peakpick_pimrt(in,o);
-        aubio_peakpick_pimrt(in,o);
-        aubio_peakpick_pimrt(in,o);
+        aubio_peakpicker_do(o, in);
+        aubio_peakpicker_do(o, in);
+        aubio_peakpicker_do(o, in);
+        aubio_peakpicker_do(o, in);
 
         del_aubio_peakpicker(o);
         del_fvec(in);