summaryrefslogtreecommitdiff
path: root/apps/menus/recording_menu.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-07-06 17:14:02 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-07-06 17:14:02 -0400
commit19b289a1b9967b697b54f20f12c1d3a1e44b6e39 (patch)
tree06d97c3a69e640e611c43e3d477c485488c1a0de /apps/menus/recording_menu.c
parent228372c38df91e24d3fc3185c50db95d05f5dc74 (diff)
downloadrockbox-19b289a1b9967b697b54f20f12c1d3a1e44b6e39.tar.gz
rockbox-19b289a1b9967b697b54f20f12c1d3a1e44b6e39.zip
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
Diffstat (limited to 'apps/menus/recording_menu.c')
-rw-r--r--apps/menus/recording_menu.c6
1 files changed, 3 insertions, 3 deletions
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)
124 { "24kHz", TALK_ID(24, UNIT_KHZ) }, 124 { "24kHz", TALK_ID(24, UNIT_KHZ) },
125 { "16kHz", TALK_ID(16, UNIT_KHZ) } 125 { "16kHz", TALK_ID(16, UNIT_KHZ) }
126 }; 126 };
127 return set_option(str(LANG_RECORDING_FREQUENCY), 127 return set_option(str(LANG_FREQUENCY),
128 &global_settings.rec_frequency, INT, 128 &global_settings.rec_frequency, INT,
129 names, 6, NULL ); 129 names, 6, NULL );
130#endif /* CONFIG_CODEC == MAS3587F */ 130#endif /* CONFIG_CODEC == MAS3587F */
@@ -191,7 +191,7 @@ static int recfrequency_func(void)
191 table, n_opts, false); 191 table, n_opts, false);
192 } 192 }
193 193
194 ret = set_option(str(LANG_RECORDING_FREQUENCY), 194 ret = set_option(str(LANG_FREQUENCY),
195 &rec_frequency, INT, opts, n_opts, NULL ); 195 &rec_frequency, INT, opts, n_opts, NULL );
196 196
197 if (!ret 197 if (!ret
@@ -209,7 +209,7 @@ static int recfrequency_func(void)
209 return ret; 209 return ret;
210#endif /* CONFIG_CODEC == SWCODEC */ 210#endif /* CONFIG_CODEC == SWCODEC */
211} /* recfrequency */ 211} /* recfrequency */
212MENUITEM_FUNCTION(recfrequency, 0, ID2P(LANG_RECORDING_FREQUENCY), 212MENUITEM_FUNCTION(recfrequency, 0, ID2P(LANG_FREQUENCY),
213 recfrequency_func, NULL, NULL, Icon_Menu_setting); 213 recfrequency_func, NULL, NULL, Icon_Menu_setting);
214 214
215 215