summaryrefslogtreecommitdiff
path: root/apps/plugins/pitch_detector.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2023-09-22 09:57:48 -0400
committerSolomon Peachy <pizza@shaftnet.org>2023-09-22 10:00:46 -0400
commit8cc3266b2a172a51dc12d05e8e1a06485b895e48 (patch)
treef45e7c9e273037d2f4ea0c72b740c4241458eeb2 /apps/plugins/pitch_detector.c
parentcb3a6877fcbb001a8ee9afd3e4a25579ac40f805 (diff)
downloadrockbox-8cc3266b2a172a51dc12d05e8e1a06485b895e48.tar.gz
rockbox-8cc3266b2a172a51dc12d05e8e1a06485b895e48.zip
Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL
....Because INT and BOOL are already defined in mingw32. Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r--apps/plugins/pitch_detector.c6
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)",