From 9d56f2d2cf8889465fdf95ffefce195a06024f83 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 17 Sep 2006 18:52:31 +0000 Subject: SWCODEC recording hang fixed. Fixed other trouble spots for codec swapping when playing. Removed call to audio_set_recording_options from fm_recording_settings on SWCODEC (Not proper to do ! My bad.). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10978 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/radio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/recorder/radio.c') diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 208e7b67fa..caaba67404 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c @@ -1635,19 +1635,17 @@ static bool fm_recording_settings(void) { bool ret = recording_menu(true); +#if CONFIG_CODEC != SWCODEC if (!ret) { rec_set_recording_options(global_settings.rec_frequency, global_settings.rec_quality, -#if CONFIG_CODEC == SWCODEC - AUDIO_SRC_FMRADIO, SRCF_FMRADIO_PLAYING, -#else AUDIO_SRC_LINEIN, 0, -#endif global_settings.rec_channels, global_settings.rec_editable, global_settings.rec_prerecord_time); } +#endif return ret; } -- cgit v1.2.3