summaryrefslogtreecommitdiff
path: root/apps/sound_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r--apps/sound_menu.c8
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
362static bool recfrequency(void) 361static 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
377static bool recchannels(void) 378static 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
389static bool rectimesplit(void) 389static bool rectimesplit(void)
390{ 390{