From 0519f7e5ab6d17f90257caffad85862187bffed6 Mon Sep 17 00:00:00 2001 From: Andrew Ryabinin Date: Sun, 12 May 2013 23:23:45 +0400 Subject: Add DAC's oversampling filter roll-off selection to sound settings. Change-Id: I1258ba50dd9308f49d97965562f3a423c9bfb785 --- apps/settings_list.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/settings_list.c') diff --git a/apps/settings_list.c b/apps/settings_list.c index ec34a96dc5..c1b40a64b6 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -778,6 +778,13 @@ const struct settings_list settings[] = { SOUND_SETTING(0,depth_3d, LANG_DEPTH_3D, "3-d enhancement", SOUND_DEPTH_3D), #endif + +#ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF + CHOICE_SETTING(F_SOUNDSETTING, roll_off, LANG_FILTER_ROLL_OFF, 0, + "roll_off", "sharp,slow", sound_set_filter_roll_off, + 2, ID2P(LANG_FILTER_SHARP), ID2P(LANG_FILTER_SLOW)), +#endif + /* playback */ OFFON_SETTING(0, playlist_shuffle, LANG_SHUFFLE, false, "shuffle", NULL), SYSTEM_SETTING(NVRAM(4), resume_index, -1), -- cgit v1.2.3