diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/pitch_detector.c | 2 | ||||
| -rw-r--r-- | apps/recorder/pcm_record.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index ec20826..c30d48a 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c @@ -1078,7 +1078,7 @@ static void record_and_get_pitch(void) } } rb->pcm_close_recording(); - rb->pcm_set_frequency(REC_SAMPR_DEFAULT | SAMPR_TYPE_REC); + rb->pcm_set_frequency(HW_SAMPR_RESET | SAMPR_TYPE_REC); #ifdef HAVE_SCHEDULER_BOOSTCTRL rb->cancel_cpu_boost(); #endif diff --git a/apps/recorder/pcm_record.c b/apps/recorder/pcm_record.c index e83db0f..30b681a 100644 --- a/apps/recorder/pcm_record.c +++ b/apps/recorder/pcm_record.c @@ -290,7 +290,7 @@ static void pcm_rec_have_more(int status, void **start, size_t *size) static void reset_hardware(void) { /* reset pcm to defaults */ - pcm_set_frequency(REC_SAMPR_DEFAULT | SAMPR_TYPE_REC); + pcm_set_frequency(HW_SAMPR_RESET | SAMPR_TYPE_REC); audio_set_output_source(AUDIO_SRC_PLAYBACK); pcm_apply_settings(); } |