From cb243f285a2b65c583f214b7ccbb5cea33b5471f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 15 Mar 2013 21:23:10 -0500 Subject: [PATCH] examples/aubiopitch.c: fix pitch mode selection --- examples/aubiopitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/aubiopitch.c b/examples/aubiopitch.c index 5ee1db13..0abe134a 100644 --- a/examples/aubiopitch.c +++ b/examples/aubiopitch.c @@ -63,7 +63,7 @@ static void process_print (void) { int main(int argc, char **argv) { examples_common_init(argc,argv); - o = new_aubio_pitch (onset_mode, buffer_size, overlap_size, samplerate); + o = new_aubio_pitch (pitch_mode, buffer_size, overlap_size, samplerate); pitch = new_fvec (1); examples_common_process(aubio_process,process_print); -- 2.26.2