diff options
| -rw-r--r-- | apps/recorder/recording.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 84207c7..34c2c6c 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -688,8 +688,10 @@ void rec_set_recording_options(struct audio_recording_options *options) { #if CONFIG_CODEC != SWCODEC if (global_settings.rec_prerecord_time) + { talk_buffer_steal(); /* will use the mp3 buffer */ -#else /* == SWOCODEC */ + } +#else /* == SWCODEC */ rec_set_source(options->rec_source, options->rec_source_flags | SRCF_RECORDING); #endif /* CONFIG_CODEC != SWCODEC */ |