shithub: aubio

Download patch

ref: e5e693e033054b7b90b5e708d9d4a9344477fc94
parent: 129486275d99b061f4fe7f75afd395b61b0c1e81
author: Paul Brossier <piem@piem.org>
date: Wed Oct 7 15:36:31 EDT 2009

tests/src/test-pitch*: update pitch prototypes

--- a/tests/src/test-pitchdetection.c
+++ b/tests/src/test-pitchdetection.c
@@ -15,7 +15,7 @@
         uint_t i = 0;
 
         while (i < 1000) {
-          aubio_pitchdetection(o,in);
+          aubio_pitchdetection_do (o,in);
           i++;
         };
 
--- a/tests/src/test-pitchfcomb.c
+++ b/tests/src/test-pitchfcomb.c
@@ -13,7 +13,7 @@
         uint_t i = 0;
 
         while (i < 1000) {
-          aubio_pitchfcomb_detect(o,in);
+          aubio_pitchfcomb_do (o,in);
           i++;
         };
 
--- a/tests/src/test-pitchmcomb.c
+++ b/tests/src/test-pitchmcomb.c
@@ -12,7 +12,7 @@
         uint_t i = 0;
 
         while (i < 1000) {
-          aubio_pitchmcomb_detect (o,in);
+          aubio_pitchmcomb_do (o,in);
           i++;
         };
 
--- a/tests/src/test-pitchschmitt.c
+++ b/tests/src/test-pitchschmitt.c
@@ -10,7 +10,7 @@
         uint_t i = 0;
 
         while (i < 1000) {
-          aubio_pitchschmitt_detect (o,in);
+          aubio_pitchschmitt_do (o,in);
           i++;
         };
 
--- a/tests/src/test-pitchyinfft.c
+++ b/tests/src/test-pitchyinfft.c
@@ -9,7 +9,7 @@
         uint_t i = 0;
 
         while (i < 10) {
-          aubio_pitchyinfft_detect (o,in,0.2);
+          aubio_pitchyinfft_do (o,in,0.2);
           i++;
         };