diff options
-rw-r--r-- | apps/recorder/recording.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index d3d95e87fe..ff970f7b7c 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -844,7 +844,11 @@ bool recording_screen(bool no_source) | |||
844 | peak_meter_playback(true); | 844 | peak_meter_playback(true); |
845 | #endif | 845 | #endif |
846 | 846 | ||
847 | #if CONFIG_CODEC == SWCODEC | ||
847 | audio_init_recording(talk_get_bufsize()); | 848 | audio_init_recording(talk_get_bufsize()); |
849 | #else | ||
850 | audio_init_recording(0); | ||
851 | #endif | ||
848 | sound_set_volume(global_settings.volume); | 852 | sound_set_volume(global_settings.volume); |
849 | 853 | ||
850 | #ifdef HAVE_AGC | 854 | #ifdef HAVE_AGC |