summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-12-23 12:35:52 +0100
committerThomas Martitz <kugel@rockbox.org>2013-12-23 12:35:52 +0100
commitec6258f936487cb92e68e7d6ee3ba864786378bd (patch)
treee71ec071b1bea736fe9f0efa8b94a2150f5b98b4 /apps/recorder
parent22e802e80048defd401462e062afcb10093ac793 (diff)
downloadrockbox-ec6258f936487cb92e68e7d6ee3ba864786378bd.tar.gz
rockbox-ec6258f936487cb92e68e7d6ee3ba864786378bd.tar.bz2
rockbox-ec6258f936487cb92e68e7d6ee3ba864786378bd.zip
fix some reds.
Change-Id: Iecb1305dbd1519434e0f476d2199e728b96091f9
Diffstat (limited to 'apps/recorder')
-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)
void rec_set_recording_options(struct audio_recording_options *options)
{
+#if CONFIG_CODEC == SWCODEC
rec_set_source(options->rec_source,
options->rec_source_flags | SRCF_RECORDING);
-
+#endif
audio_set_recording_options(options);
}