From 92417c804e4d58645725f0dca78c692b01d1035c Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 2 Sep 2006 00:09:08 +0000 Subject: Enabled channel selection for UDA1380 and limited frquency select to 44.1KHz for the time being on SWCODEC git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10851 a1c6a512-1295-4272-9138-f99709370657 --- apps/sound_menu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/sound_menu.c') diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 179951a17d..e61d397ea3 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c @@ -356,22 +356,23 @@ static bool receditable(void) return set_bool(str(LANG_RECORDING_EDITABLE), &global_settings.rec_editable); } -#endif +#endif /* CONFIG_CODEC == MAS3587F */ -#ifndef HAVE_UDA1380 static bool recfrequency(void) { static const struct opt_items names[] = { { "44.1kHz", TALK_ID(44, UNIT_KHZ) }, +#if CONFIG_CODEC != SWCODEC /* This is temporary */ { "48kHz", TALK_ID(48, UNIT_KHZ) }, { "32kHz", TALK_ID(32, UNIT_KHZ) }, { "22.05kHz", TALK_ID(22, UNIT_KHZ) }, { "24kHz", TALK_ID(24, UNIT_KHZ) }, { "16kHz", TALK_ID(16, UNIT_KHZ) } +#endif }; return set_option(str(LANG_RECORDING_FREQUENCY), &global_settings.rec_frequency, INT, - names, 6, NULL ); + names, sizeof(names)/sizeof(*names), NULL ); } static bool recchannels(void) @@ -384,7 +385,6 @@ static bool recchannels(void) &global_settings.rec_channels, INT, names, 2, NULL ); } -#endif static bool rectimesplit(void) { -- cgit v1.2.3