summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-11-10 22:59:31 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2024-11-10 22:59:31 -0500
commit4c34e150f75c220e94d1e927e7387f6f18fb8c6c (patch)
treed6709bccc7e65d0981ce474d9d27f267134772bc
parent9baadd4a9501d277cc7d493f585de78d5f303922 (diff)
downloadrockbox-4c34e150f7.tar.gz
rockbox-4c34e150f7.zip
[Fix Red] #2 7288d9e Move cfg_vals from settings_list
agc settings.. Change-Id: I695c9c8300fb5d4a544b12e3185dfec39cf7fbbc
-rw-r--r--apps/settings_list.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index f2db4efd26..67c51ce140 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1916,15 +1916,15 @@ const struct settings_list settings[] = {
#ifdef HAVE_AGC
{F_T_INT,&global_settings.rec_agc_preset_mic,LANG_RECORDING_AGC_PRESET,
- INT(1),"agc mic preset",NULL,UNUSED},
+ INT(1),"agc mic preset",UNUSED},
{F_T_INT,&global_settings.rec_agc_preset_line,LANG_RECORDING_AGC_PRESET,
- INT(1),"agc line preset",NULL,UNUSED},
+ INT(1),"agc line preset",UNUSED},
{F_T_INT,&global_settings.rec_agc_maxgain_mic,-1,INT(104),
- "agc maximum mic gain",NULL,UNUSED},
+ "agc maximum mic gain",UNUSED},
{F_T_INT,&global_settings.rec_agc_maxgain_line,-1,INT(96),
- "agc maximum line gain",NULL,UNUSED},
- {F_T_INT,&global_settings.rec_agc_cliptime,LANG_RECORDING_AGC_CLIPTIME,
- INT(1),"agc cliptime","0.2 s,0.4 s,0.6 s,0.8 s,1 s",UNUSED},
+ "agc maximum line gain",UNUSED},
+ {F_T_INT|F_HAS_CFGVALS,&global_settings.rec_agc_cliptime,LANG_RECORDING_AGC_CLIPTIME,
+ INT(1),"agc cliptime", {.cfg_vals = "0.2 s,0.4 s,0.6 s,0.8 s,1 s"},
#endif
#ifdef HAVE_REMOTE_LCD