diff options
Diffstat (limited to 'apps/recorder/recording.c')
-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 84207c77ab..34c2c6c605 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) | |||
688 | { | 688 | { |
689 | #if CONFIG_CODEC != SWCODEC | 689 | #if CONFIG_CODEC != SWCODEC |
690 | if (global_settings.rec_prerecord_time) | 690 | if (global_settings.rec_prerecord_time) |
691 | { | ||
691 | talk_buffer_steal(); /* will use the mp3 buffer */ | 692 | talk_buffer_steal(); /* will use the mp3 buffer */ |
692 | #else /* == SWOCODEC */ | 693 | } |
694 | #else /* == SWCODEC */ | ||
693 | rec_set_source(options->rec_source, | 695 | rec_set_source(options->rec_source, |
694 | options->rec_source_flags | SRCF_RECORDING); | 696 | options->rec_source_flags | SRCF_RECORDING); |
695 | #endif /* CONFIG_CODEC != SWCODEC */ | 697 | #endif /* CONFIG_CODEC != SWCODEC */ |