summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 4a7399b01e..5b341fd141 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -691,9 +691,10 @@ void rec_set_source(int source, unsigned flags)
691 691
692void rec_set_recording_options(struct audio_recording_options *options) 692void rec_set_recording_options(struct audio_recording_options *options)
693{ 693{
694#if CONFIG_CODEC == SWCODEC
694 rec_set_source(options->rec_source, 695 rec_set_source(options->rec_source,
695 options->rec_source_flags | SRCF_RECORDING); 696 options->rec_source_flags | SRCF_RECORDING);
696 697#endif
697 audio_set_recording_options(options); 698 audio_set_recording_options(options);
698} 699}
699 700