diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-09-02 00:09:08 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-09-02 00:09:08 +0000 |
commit | 92417c804e4d58645725f0dca78c692b01d1035c (patch) | |
tree | 478ae883a2ae15e3ac9b8aa7a4fbf07e47aea37f /apps/sound_menu.c | |
parent | aeee39b27e15c3fd0202b8bfd672bf4c0ff1162d (diff) | |
download | rockbox-92417c804e4d58645725f0dca78c692b01d1035c.tar.gz rockbox-92417c804e4d58645725f0dca78c692b01d1035c.zip |
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
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r-- | apps/sound_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) | |||
356 | return set_bool(str(LANG_RECORDING_EDITABLE), | 356 | return set_bool(str(LANG_RECORDING_EDITABLE), |
357 | &global_settings.rec_editable); | 357 | &global_settings.rec_editable); |
358 | } | 358 | } |
359 | #endif | 359 | #endif /* CONFIG_CODEC == MAS3587F */ |
360 | 360 | ||
361 | #ifndef HAVE_UDA1380 | ||
362 | static bool recfrequency(void) | 361 | static bool recfrequency(void) |
363 | { | 362 | { |
364 | static const struct opt_items names[] = { | 363 | static const struct opt_items names[] = { |
365 | { "44.1kHz", TALK_ID(44, UNIT_KHZ) }, | 364 | { "44.1kHz", TALK_ID(44, UNIT_KHZ) }, |
365 | #if CONFIG_CODEC != SWCODEC /* This is temporary */ | ||
366 | { "48kHz", TALK_ID(48, UNIT_KHZ) }, | 366 | { "48kHz", TALK_ID(48, UNIT_KHZ) }, |
367 | { "32kHz", TALK_ID(32, UNIT_KHZ) }, | 367 | { "32kHz", TALK_ID(32, UNIT_KHZ) }, |
368 | { "22.05kHz", TALK_ID(22, UNIT_KHZ) }, | 368 | { "22.05kHz", TALK_ID(22, UNIT_KHZ) }, |
369 | { "24kHz", TALK_ID(24, UNIT_KHZ) }, | 369 | { "24kHz", TALK_ID(24, UNIT_KHZ) }, |
370 | { "16kHz", TALK_ID(16, UNIT_KHZ) } | 370 | { "16kHz", TALK_ID(16, UNIT_KHZ) } |
371 | #endif | ||
371 | }; | 372 | }; |
372 | return set_option(str(LANG_RECORDING_FREQUENCY), | 373 | return set_option(str(LANG_RECORDING_FREQUENCY), |
373 | &global_settings.rec_frequency, INT, | 374 | &global_settings.rec_frequency, INT, |
374 | names, 6, NULL ); | 375 | names, sizeof(names)/sizeof(*names), NULL ); |
375 | } | 376 | } |
376 | 377 | ||
377 | static bool recchannels(void) | 378 | static bool recchannels(void) |
@@ -384,7 +385,6 @@ static bool recchannels(void) | |||
384 | &global_settings.rec_channels, INT, | 385 | &global_settings.rec_channels, INT, |
385 | names, 2, NULL ); | 386 | names, 2, NULL ); |
386 | } | 387 | } |
387 | #endif | ||
388 | 388 | ||
389 | static bool rectimesplit(void) | 389 | static bool rectimesplit(void) |
390 | { | 390 | { |