From: Paul Brossier Date: Sat, 16 Mar 2013 02:23:10 +0000 (-0500) Subject: examples/aubiopitch.c: fix pitch mode selection X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cb243f285a2b65c583f214b7ccbb5cea33b5471f;p=aubio.git examples/aubiopitch.c: fix pitch mode selection --- 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);