summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-07-09 22:48:19 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-07-17 08:18:31 -0400
commitcd17decd5a35c9b506bf8433ae56dda00f65ad61 (patch)
treeac64d4ff4a906d48ef21c94d9b6e00e30345fe90 /apps
parentec31a2b4ad030dc2ab2a627484dce894a6d4e656 (diff)
xduoox3ii: Add "Super Slow" filter roll-off
I'm not happy with the proliferation of filter-roll-off options but I don't have a less ugly solution. Change-Id: I740fca006fa0c3443a467acfea55b6574d48346b
Diffstat (limited to 'apps')
-rw-r--r--apps/lang/english.lang17
-rw-r--r--apps/settings_list.c3
2 files changed, 20 insertions, 0 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index f268434f60..667d1239ca 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -12171,6 +12171,23 @@
</voice>
</phrase>
<phrase>
+ id: LANG_FILTER_SUPER_SLOW
+ desc: in sound settings
+ user: core
+ <source>
+ *: none
+ filter_roll_off: "Super Slow"
+ </source>
+ <dest>
+ *: none
+ filter_roll_off: "Super Slow"
+ </dest>
+ <voice>
+ *: none
+ filter_roll_off: "Super Slow"
+ </voice>
+</phrase>
+<phrase>
id: LANG_FILTER_SHORT
desc: in sound settings
user: core
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 1cdbc4115d..5464416b21 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -858,6 +858,9 @@ const struct settings_list settings[] = {
#elif defined(AUDIOHW_HAVE_SHORT2_ROLL_OFF)
"roll_off", "sharp,slow,short sharp,short slow", sound_set_filter_roll_off,
4, ID2P(LANG_FILTER_SHARP), ID2P(LANG_FILTER_SLOW), ID2P(LANG_FILTER_SHORT_SHARP), ID2P(LANG_FILTER_SHORT_SLOW)),
+#elif defined(AUDIOHW_HAVE_SS_ROLL_OFF)
+ "roll_off", "sharp,slow,short sharp,short slow,super slow", sound_set_filter_roll_off,
+ 5, ID2P(LANG_FILTER_SHARP), ID2P(LANG_FILTER_SLOW), ID2P(LANG_FILTER_SHORT_SHARP), ID2P(LANG_FILTER_SHORT_SLOW), ID2P(LANG_FILTER_SUPER_SLOW)),
#elif defined(AUDIOHW_HAVE_SHORT_ROLL_OFF)
"roll_off", "sharp,slow,short,bypass", sound_set_filter_roll_off,
4, ID2P(LANG_FILTER_SHARP), ID2P(LANG_FILTER_SLOW), ID2P(LANG_FILTER_SHORT), ID2P(LANG_FILTER_BYPASS)),