src/pitch/pitch.c: fix yinfft selection
authorPaul Brossier <piem@piem.org>
Sat, 9 Mar 2013 22:11:27 +0000 (17:11 -0500)
committerPaul Brossier <piem@piem.org>
Sat, 9 Mar 2013 22:11:27 +0000 (17:11 -0500)
src/pitch/pitch.c

index f7c1fce4177af526d3b3aa5bc281a4d23dfa474b..63366c03c24bd85c37b5174083014fabc078c069 100644 (file)
@@ -121,7 +121,7 @@ new_aubio_pitch (char_t * pitch_mode,
   if (strcmp (pitch_mode, "mcomb") == 0)
     pitch_type = aubio_pitcht_mcomb;
   else if (strcmp (pitch_mode, "yinfft") == 0)
-    pitch_type = aubio_pitcht_yin;
+    pitch_type = aubio_pitcht_yinfft;
   else if (strcmp (pitch_mode, "yin") == 0)
     pitch_type = aubio_pitcht_yin;
   else if (strcmp (pitch_mode, "schmitt") == 0)