summaryrefslogtreecommitdiff
path: root/apps/plugins/pitch_detector.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r--apps/plugins/pitch_detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c
index ec208268ab..c30d48a025 100644
--- a/apps/plugins/pitch_detector.c
+++ b/apps/plugins/pitch_detector.c
@@ -1078,7 +1078,7 @@ static void record_and_get_pitch(void)
1078 } 1078 }
1079 } 1079 }
1080 rb->pcm_close_recording(); 1080 rb->pcm_close_recording();
1081 rb->pcm_set_frequency(REC_SAMPR_DEFAULT | SAMPR_TYPE_REC); 1081 rb->pcm_set_frequency(HW_SAMPR_RESET | SAMPR_TYPE_REC);
1082#ifdef HAVE_SCHEDULER_BOOSTCTRL 1082#ifdef HAVE_SCHEDULER_BOOSTCTRL
1083 rb->cancel_cpu_boost(); 1083 rb->cancel_cpu_boost();
1084#endif 1084#endif