From 19b289a1b9967b697b54f20f12c1d3a1e44b6e39 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 6 Jul 2013 17:14:02 -0400 Subject: Reuse frequency string from recording for playback frequency. Update all .lang files and change the id from LANG_RECORDING_FREQUENCY to LANG_FREQUENCY. Also update description and target. It will throw things off for targets without recording but that do have 48KHz, possibly older iPods. I'm not sure what else it might be off hand. Regenerate voice files and replace .lang files in that case. Change-Id: I9ab396ecfcca9206054bde34aa2cc23b505dabff --- apps/menus/recording_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/menus') diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c index 21686ab3da..5038b1abad 100644 --- a/apps/menus/recording_menu.c +++ b/apps/menus/recording_menu.c @@ -124,7 +124,7 @@ static int recfrequency_func(void) { "24kHz", TALK_ID(24, UNIT_KHZ) }, { "16kHz", TALK_ID(16, UNIT_KHZ) } }; - return set_option(str(LANG_RECORDING_FREQUENCY), + return set_option(str(LANG_FREQUENCY), &global_settings.rec_frequency, INT, names, 6, NULL ); #endif /* CONFIG_CODEC == MAS3587F */ @@ -191,7 +191,7 @@ static int recfrequency_func(void) table, n_opts, false); } - ret = set_option(str(LANG_RECORDING_FREQUENCY), + ret = set_option(str(LANG_FREQUENCY), &rec_frequency, INT, opts, n_opts, NULL ); if (!ret @@ -209,7 +209,7 @@ static int recfrequency_func(void) return ret; #endif /* CONFIG_CODEC == SWCODEC */ } /* recfrequency */ -MENUITEM_FUNCTION(recfrequency, 0, ID2P(LANG_RECORDING_FREQUENCY), +MENUITEM_FUNCTION(recfrequency, 0, ID2P(LANG_FREQUENCY), recfrequency_func, NULL, NULL, Icon_Menu_setting); -- cgit v1.2.3