From d4942cc74c82c465ea395637c77ed06565b8b497 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 29 Jun 2018 16:09:28 -0400 Subject: Add Xuelin iHIFI 770/770C/800 support Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978 --- apps/settings_list.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/settings_list.c') diff --git a/apps/settings_list.c b/apps/settings_list.c index eb3c76865d..1c41954390 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -876,8 +876,13 @@ const struct settings_list settings[] = { #ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF CHOICE_SETTING(F_SOUNDSETTING, roll_off, LANG_FILTER_ROLL_OFF, 0, +#ifndef AUDIOHW_HAVE_SHORT_ROLL_OFF "roll_off", "sharp,slow", sound_set_filter_roll_off, 2, ID2P(LANG_FILTER_SHARP), ID2P(LANG_FILTER_SLOW)), +#else + "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)), +#endif #endif /* playback */ -- cgit v1.2.3