diff options
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r-- | apps/plugins/pitch_detector.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index e9b1fb11b0..f7d1219445 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c | |||
@@ -503,19 +503,19 @@ static bool main_menu(void) | |||
503 | rb->set_option( | 503 | rb->set_option( |
504 | "Algorithm Pickiness (Lower -> more discriminating)", | 504 | "Algorithm Pickiness (Lower -> more discriminating)", |
505 | &settings.yin_threshold, | 505 | &settings.yin_threshold, |
506 | INT, yin_threshold_text, | 506 | RB_INT, yin_threshold_text, |
507 | sizeof(yin_threshold_text) / sizeof(yin_threshold_text[0]), | 507 | sizeof(yin_threshold_text) / sizeof(yin_threshold_text[0]), |
508 | NULL); | 508 | NULL); |
509 | break; | 509 | break; |
510 | case 5: | 510 | case 5: |
511 | rb->set_option("Display Accidentals As", | 511 | rb->set_option("Display Accidentals As", |
512 | &settings.use_sharps, | 512 | &settings.use_sharps, |
513 | BOOL, accidental_text, 2, NULL); | 513 | RB_BOOL, accidental_text, 2, NULL); |
514 | break; | 514 | break; |
515 | case 6: | 515 | case 6: |
516 | rb->set_option("Key Transposition", | 516 | rb->set_option("Key Transposition", |
517 | &settings.key_transposition, | 517 | &settings.key_transposition, |
518 | INT, transpose_text, 12, NULL); | 518 | RB_INT, transpose_text, 12, NULL); |
519 | break; | 519 | break; |
520 | case 7: | 520 | case 7: |
521 | rb->set_bool("Display Frequency (Hz)", | 521 | rb->set_bool("Display Frequency (Hz)", |