summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-08-18 03:24:45 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-08-18 03:24:45 +0000
commit2b7ef6b92880249e64639768012266e65f5d14cc (patch)
tree119d27b90177426b8c01da7d3f5a4e1d884a01ee /apps/settings_list.c
parentf451108fa857fe16f35fa3beb5278e36fed74c67 (diff)
FS#10199: Adds limiter DSP function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22394 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 86972a132d..9ea95573cf 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1246,6 +1246,12 @@ const struct settings_list settings[] = {
/* timestretch */
OFFON_SETTING(F_SOUNDSETTING, timestretch_enabled, LANG_TIMESTRETCH, false,
"timestretch enabled", dsp_timestretch_enable),
+
+ /* limiter */
+ INT_SETTING_NOWRAP(F_SOUNDSETTING, limiter_level,
+ LANG_LIMITER, 0,
+ "limiter level", UNIT_DB, 0, MAX_LIMITER_GAIN,
+ 5, db_format, get_dec_talkid, dsp_set_limiter),
#endif
#ifdef HAVE_WM8758
SOUND_SETTING(F_NO_WRAP, bass_cutoff, LANG_BASS_CUTOFF,