Jonathan Gordon | 4718a1e | 2007-02-08 04:33:41 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
Jonathan Gordon | 4e73b53 | 2007-02-13 00:32:17 +0000 | [diff] [blame] | 8 | * $Id$ |
Jonathan Gordon | 4718a1e | 2007-02-08 04:33:41 +0000 | [diff] [blame] | 9 | * |
| 10 | * Copyright (C) 2007 Jonathan Gordon |
| 11 | * |
Daniel Stenberg | 2acc0ac | 2008-06-28 18:10:04 +0000 | [diff] [blame] | 12 | * This program is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU General Public License |
| 14 | * as published by the Free Software Foundation; either version 2 |
| 15 | * of the License, or (at your option) any later version. |
Jonathan Gordon | 4718a1e | 2007-02-08 04:33:41 +0000 | [diff] [blame] | 16 | * |
| 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 18 | * KIND, either express or implied. |
| 19 | * |
| 20 | ****************************************************************************/ |
| 21 | |
| 22 | #include <stdbool.h> |
| 23 | #include <stddef.h> |
| 24 | #include <limits.h> |
| 25 | #include "config.h" |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 26 | #include "sound.h" |
Jonathan Gordon | 4718a1e | 2007-02-08 04:33:41 +0000 | [diff] [blame] | 27 | #include "lang.h" |
| 28 | #include "action.h" |
| 29 | #include "settings.h" |
| 30 | #include "menu.h" |
| 31 | #include "sound_menu.h" |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 32 | #include "eq_menu.h" |
Jonathan Gordon | 2801a87 | 2007-02-19 02:14:51 +0000 | [diff] [blame] | 33 | #include "exported_menus.h" |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 34 | #include "menu_common.h" |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 35 | #include "splash.h" |
| 36 | #include "kernel.h" |
PurlingNayuki | f0bec02 | 2013-12-21 21:33:54 +0800 | [diff] [blame] | 37 | #include "talk.h" |
| 38 | #include "option_select.h" |
| 39 | #include "misc.h" |
| 40 | |
PurlingNayuki | f0bec02 | 2013-12-21 21:33:54 +0800 | [diff] [blame] | 41 | static int volume_limit_callback(int action,const struct menu_item_ex *this_item) |
| 42 | { |
| 43 | (void)this_item; |
| 44 | |
| 45 | static struct int_setting volume_limit_int_setting; |
| 46 | volume_limit_int_setting.option_callback = NULL; |
| 47 | volume_limit_int_setting.unit = UNIT_DB; |
| 48 | volume_limit_int_setting.min = sound_min(SOUND_VOLUME); |
| 49 | volume_limit_int_setting.max = sound_max(SOUND_VOLUME); |
| 50 | volume_limit_int_setting.step = sound_steps(SOUND_VOLUME); |
| 51 | volume_limit_int_setting.formatter = NULL; |
Solomon Peachy | e73ef01 | 2019-07-21 09:01:58 -0400 | [diff] [blame^] | 52 | volume_limit_int_setting.get_talk_id = NULL; |
PurlingNayuki | f0bec02 | 2013-12-21 21:33:54 +0800 | [diff] [blame] | 53 | |
| 54 | struct settings_list setting; |
| 55 | setting.flags = F_BANFROMQS|F_INT_SETTING|F_T_INT|F_NO_WRAP; |
| 56 | setting.lang_id = LANG_VOLUME_LIMIT; |
| 57 | setting.default_val.int_ = sound_max(SOUND_VOLUME); |
| 58 | setting.int_setting = &volume_limit_int_setting; |
| 59 | |
| 60 | switch (action) |
| 61 | { |
| 62 | case ACTION_ENTER_MENUITEM: |
| 63 | setting.setting = &global_settings.volume_limit; |
| 64 | option_screen(&setting, NULL, false, ID2P(LANG_VOLUME_LIMIT)); |
| 65 | case ACTION_EXIT_MENUITEM: /* on exit */ |
| 66 | setvol(); |
| 67 | break; |
| 68 | } |
| 69 | return action; |
| 70 | } |
Jonathan Gordon | 4718a1e | 2007-02-08 04:33:41 +0000 | [diff] [blame] | 71 | |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 72 | /***********************************/ |
| 73 | /* SOUND MENU */ |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 74 | MENUITEM_SETTING(volume, &global_settings.volume, NULL); |
PurlingNayuki | f0bec02 | 2013-12-21 21:33:54 +0800 | [diff] [blame] | 75 | MENUITEM_SETTING(volume_limit, &global_settings.volume_limit, volume_limit_callback); |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 76 | #ifdef AUDIOHW_HAVE_BASS |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 77 | MENUITEM_SETTING(bass, &global_settings.bass, |
| 78 | #ifdef HAVE_SW_TONE_CONTROLS |
| 79 | lowlatency_callback |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 80 | #else |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 81 | NULL |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 82 | #endif |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 83 | ); |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 84 | |
| 85 | #ifdef AUDIOHW_HAVE_BASS_CUTOFF |
Michael Sevakis | 5508d40 | 2010-05-15 13:30:01 +0000 | [diff] [blame] | 86 | MENUITEM_SETTING(bass_cutoff, &global_settings.bass_cutoff, NULL); |
Dan Everton | d7e1f77 | 2007-11-24 07:51:00 +0000 | [diff] [blame] | 87 | #endif |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 88 | #endif /* AUDIOHW_HAVE_BASS */ |
| 89 | |
| 90 | |
| 91 | #ifdef AUDIOHW_HAVE_TREBLE |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 92 | MENUITEM_SETTING(treble, &global_settings.treble, |
| 93 | #ifdef HAVE_SW_TONE_CONTROLS |
| 94 | lowlatency_callback |
| 95 | #else |
| 96 | NULL |
| 97 | #endif |
| 98 | ); |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 99 | |
| 100 | #ifdef AUDIOHW_HAVE_TREBLE_CUTOFF |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 101 | MENUITEM_SETTING(treble_cutoff, &global_settings.treble_cutoff, NULL); |
Dan Everton | d7e1f77 | 2007-11-24 07:51:00 +0000 | [diff] [blame] | 102 | #endif |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 103 | #endif /* AUDIOHW_HAVE_TREBLE */ |
| 104 | |
| 105 | |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 106 | MENUITEM_SETTING(balance, &global_settings.balance, NULL); |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 107 | MENUITEM_SETTING(channel_config, &global_settings.channel_config, |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 108 | #if CONFIG_CODEC == SWCODEC |
| 109 | lowlatency_callback |
| 110 | #else |
| 111 | NULL |
| 112 | #endif |
| 113 | ); |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 114 | MENUITEM_SETTING(stereo_width, &global_settings.stereo_width, |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 115 | #if CONFIG_CODEC == SWCODEC |
| 116 | lowlatency_callback |
| 117 | #else |
| 118 | NULL |
| 119 | #endif |
| 120 | ); |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 121 | |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 122 | #ifdef AUDIOHW_HAVE_DEPTH_3D |
| 123 | MENUITEM_SETTING(depth_3d, &global_settings.depth_3d, NULL); |
| 124 | #endif |
| 125 | |
Andrew Ryabinin | 0519f7e | 2013-05-12 23:23:45 +0400 | [diff] [blame] | 126 | #ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF |
| 127 | MENUITEM_SETTING(roll_off, &global_settings.roll_off, NULL); |
| 128 | #endif |
| 129 | |
Solomon Peachy | 0662793 | 2018-06-28 06:24:26 -0400 | [diff] [blame] | 130 | #ifdef AUDIOHW_HAVE_FUNCTIONAL_MODE |
| 131 | MENUITEM_SETTING(func_mode, &global_settings.func_mode, NULL); |
| 132 | #endif |
| 133 | |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 134 | #if CONFIG_CODEC == SWCODEC |
| 135 | /* Crossfeed Submenu */ |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 136 | MENUITEM_SETTING(crossfeed, &global_settings.crossfeed, lowlatency_callback); |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 137 | MENUITEM_SETTING(crossfeed_direct_gain, |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 138 | &global_settings.crossfeed_direct_gain, lowlatency_callback); |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 139 | MENUITEM_SETTING(crossfeed_cross_gain, |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 140 | &global_settings.crossfeed_cross_gain, lowlatency_callback); |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 141 | MENUITEM_SETTING(crossfeed_hf_attenuation, |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 142 | &global_settings.crossfeed_hf_attenuation, lowlatency_callback); |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 143 | MENUITEM_SETTING(crossfeed_hf_cutoff, |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 144 | &global_settings.crossfeed_hf_cutoff, lowlatency_callback); |
Jonathan Gordon | 02a8717 | 2007-03-03 13:52:14 +0000 | [diff] [blame] | 145 | MAKE_MENU(crossfeed_menu,ID2P(LANG_CROSSFEED), NULL, Icon_NOICON, |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 146 | &crossfeed, &crossfeed_direct_gain, &crossfeed_cross_gain, |
| 147 | &crossfeed_hf_attenuation, &crossfeed_hf_cutoff); |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 148 | |
Nils Wallménius | d29a11b | 2012-05-08 16:34:26 +0200 | [diff] [blame] | 149 | #ifdef HAVE_PITCHCONTROL |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 150 | static int timestretch_callback(int action,const struct menu_item_ex *this_item) |
| 151 | { |
| 152 | switch (action) |
| 153 | { |
| 154 | case ACTION_EXIT_MENUITEM: /* on exit */ |
Steve Bavin | d6ad019 | 2009-06-16 07:10:05 +0000 | [diff] [blame] | 155 | if (global_settings.timestretch_enabled && !dsp_timestretch_available()) |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 156 | splash(HZ*2, ID2P(LANG_PLEASE_REBOOT)); |
| 157 | break; |
| 158 | } |
| 159 | lowlatency_callback(action, this_item); |
| 160 | return action; |
| 161 | } |
| 162 | MENUITEM_SETTING(timestretch_enabled, |
| 163 | &global_settings.timestretch_enabled, timestretch_callback); |
Frank Gevaerts | f366090 | 2010-09-17 20:28:47 +0000 | [diff] [blame] | 164 | #endif |
| 165 | |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 166 | MENUITEM_SETTING(dithering_enabled, |
Dan Everton | 0466319 | 2008-03-03 11:06:04 +0000 | [diff] [blame] | 167 | &global_settings.dithering_enabled, lowlatency_callback); |
Chiwen Chang | 3ae0f32 | 2014-08-22 23:30:35 +1000 | [diff] [blame] | 168 | MENUITEM_SETTING(afr_enabled, |
| 169 | &global_settings.afr_enabled, lowlatency_callback); |
| 170 | MENUITEM_SETTING(pbe, |
| 171 | &global_settings.pbe, lowlatency_callback); |
| 172 | MENUITEM_SETTING(pbe_precut, |
| 173 | &global_settings.pbe_precut, lowlatency_callback); |
| 174 | MAKE_MENU(pbe_menu,ID2P(LANG_PBE), NULL, Icon_NOICON, |
| 175 | &pbe,&pbe_precut); |
| 176 | MENUITEM_SETTING(surround_enabled, |
| 177 | &global_settings.surround_enabled, lowlatency_callback); |
| 178 | MENUITEM_SETTING(surround_balance, |
| 179 | &global_settings.surround_balance, lowlatency_callback); |
| 180 | MENUITEM_SETTING(surround_fx1, |
| 181 | &global_settings.surround_fx1, lowlatency_callback); |
| 182 | MENUITEM_SETTING(surround_fx2, |
| 183 | &global_settings.surround_fx2, lowlatency_callback); |
| 184 | MENUITEM_SETTING(surround_method2, |
| 185 | &global_settings.surround_method2, lowlatency_callback); |
| 186 | MENUITEM_SETTING(surround_mix, |
| 187 | &global_settings.surround_mix, lowlatency_callback); |
| 188 | MAKE_MENU(surround_menu,ID2P(LANG_SURROUND), NULL, Icon_NOICON, |
| 189 | &surround_enabled,&surround_balance,&surround_fx1,&surround_fx2,&surround_method2,&surround_mix); |
Jeffrey Goode | cf19ba5 | 2009-09-25 15:46:38 +0000 | [diff] [blame] | 190 | |
| 191 | /* compressor submenu */ |
| 192 | MENUITEM_SETTING(compressor_threshold, |
Michael Sevakis | 0842d7f | 2012-04-26 17:19:16 -0400 | [diff] [blame] | 193 | &global_settings.compressor_settings.threshold, |
| 194 | lowlatency_callback); |
Jeffrey Goode | cf19ba5 | 2009-09-25 15:46:38 +0000 | [diff] [blame] | 195 | MENUITEM_SETTING(compressor_gain, |
Michael Sevakis | 0842d7f | 2012-04-26 17:19:16 -0400 | [diff] [blame] | 196 | &global_settings.compressor_settings.makeup_gain, |
| 197 | lowlatency_callback); |
Jeffrey Goode | 95e2d72 | 2009-11-04 18:14:36 +0000 | [diff] [blame] | 198 | MENUITEM_SETTING(compressor_ratio, |
Michael Sevakis | 0842d7f | 2012-04-26 17:19:16 -0400 | [diff] [blame] | 199 | &global_settings.compressor_settings.ratio, |
| 200 | lowlatency_callback); |
Jeffrey Goode | cf19ba5 | 2009-09-25 15:46:38 +0000 | [diff] [blame] | 201 | MENUITEM_SETTING(compressor_knee, |
Michael Sevakis | 0842d7f | 2012-04-26 17:19:16 -0400 | [diff] [blame] | 202 | &global_settings.compressor_settings.knee, |
| 203 | lowlatency_callback); |
Ryan Billing | d0918b9 | 2013-10-04 01:57:00 +1300 | [diff] [blame] | 204 | MENUITEM_SETTING(compressor_attack, |
| 205 | &global_settings.compressor_settings.attack_time, |
| 206 | lowlatency_callback); |
Jeffrey Goode | cf19ba5 | 2009-09-25 15:46:38 +0000 | [diff] [blame] | 207 | MENUITEM_SETTING(compressor_release, |
Michael Sevakis | 0842d7f | 2012-04-26 17:19:16 -0400 | [diff] [blame] | 208 | &global_settings.compressor_settings.release_time, |
| 209 | lowlatency_callback); |
Jeffrey Goode | cf19ba5 | 2009-09-25 15:46:38 +0000 | [diff] [blame] | 210 | MAKE_MENU(compressor_menu,ID2P(LANG_COMPRESSOR), NULL, Icon_NOICON, |
Jeffrey Goode | 95e2d72 | 2009-11-04 18:14:36 +0000 | [diff] [blame] | 211 | &compressor_threshold, &compressor_gain, &compressor_ratio, |
Ryan Billing | d0918b9 | 2013-10-04 01:57:00 +1300 | [diff] [blame] | 212 | &compressor_knee, &compressor_attack, &compressor_release); |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 213 | #endif |
| 214 | |
| 215 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) |
| 216 | MENUITEM_SETTING(loudness, &global_settings.loudness, NULL); |
| 217 | MENUITEM_SETTING(avc, &global_settings.avc, NULL); |
| 218 | MENUITEM_SETTING(superbass, &global_settings.superbass, NULL); |
| 219 | MENUITEM_SETTING(mdb_enable, &global_settings.mdb_enable, NULL); |
| 220 | MENUITEM_SETTING(mdb_strength, &global_settings.mdb_strength, NULL); |
| 221 | MENUITEM_SETTING(mdb_harmonics, &global_settings.mdb_harmonics, NULL); |
| 222 | MENUITEM_SETTING(mdb_center, &global_settings.mdb_center, NULL); |
| 223 | MENUITEM_SETTING(mdb_shape, &global_settings.mdb_shape, NULL); |
| 224 | #endif |
| 225 | |
Maurus Cuelenaere | 6c252a6 | 2009-03-02 18:18:24 +0000 | [diff] [blame] | 226 | #ifdef HAVE_SPEAKER |
Amaury Pouly | 1245c5f | 2017-01-14 01:40:12 +0100 | [diff] [blame] | 227 | MENUITEM_SETTING(speaker_mode, &global_settings.speaker_mode, NULL); |
Maurus Cuelenaere | 6c252a6 | 2009-03-02 18:18:24 +0000 | [diff] [blame] | 228 | #endif |
| 229 | |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 230 | #ifdef AUDIOHW_HAVE_EQ |
| 231 | #endif /* AUDIOHW_HAVE_EQ */ |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 232 | |
Jonathan Gordon | 02a8717 | 2007-03-03 13:52:14 +0000 | [diff] [blame] | 233 | MAKE_MENU(sound_settings, ID2P(LANG_SOUND_SETTINGS), NULL, Icon_Audio, |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 234 | &volume |
PurlingNayuki | f0bec02 | 2013-12-21 21:33:54 +0800 | [diff] [blame] | 235 | ,&volume_limit |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 236 | #ifdef AUDIOHW_HAVE_BASS |
| 237 | ,&bass |
Dan Everton | d7e1f77 | 2007-11-24 07:51:00 +0000 | [diff] [blame] | 238 | #endif |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 239 | #ifdef AUDIOHW_HAVE_BASS_CUTOFF |
| 240 | ,&bass_cutoff |
Dan Everton | d7e1f77 | 2007-11-24 07:51:00 +0000 | [diff] [blame] | 241 | #endif |
Michael Sevakis | 80d0d15 | 2010-05-15 13:09:45 +0000 | [diff] [blame] | 242 | #ifdef AUDIOHW_HAVE_TREBLE |
| 243 | ,&treble |
| 244 | #endif |
| 245 | #ifdef AUDIOHW_HAVE_TREBLE_CUTOFF |
| 246 | ,&treble_cutoff |
| 247 | #endif |
| 248 | #ifdef AUDIOHW_HAVE_EQ |
| 249 | ,&audiohw_eq_tone_controls |
| 250 | #endif |
| 251 | ,&balance,&channel_config,&stereo_width |
| 252 | #ifdef AUDIOHW_HAVE_DEPTH_3D |
| 253 | ,&depth_3d |
| 254 | #endif |
Andrew Ryabinin | 0519f7e | 2013-05-12 23:23:45 +0400 | [diff] [blame] | 255 | #ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF |
| 256 | ,&roll_off |
| 257 | #endif |
Solomon Peachy | 0662793 | 2018-06-28 06:24:26 -0400 | [diff] [blame] | 258 | #ifdef AUDIOHW_HAVE_FUNCTIONAL_MODE |
| 259 | ,&func_mode |
| 260 | #endif |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 261 | #if CONFIG_CODEC == SWCODEC |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 262 | ,&crossfeed_menu, &equalizer_menu, &dithering_enabled |
Chiwen Chang | 3ae0f32 | 2014-08-22 23:30:35 +1000 | [diff] [blame] | 263 | ,&surround_menu, &pbe_menu, &afr_enabled |
Nils Wallménius | d29a11b | 2012-05-08 16:34:26 +0200 | [diff] [blame] | 264 | #ifdef HAVE_PITCHCONTROL |
Steve Bavin | fb23807 | 2009-06-12 07:20:50 +0000 | [diff] [blame] | 265 | ,×tretch_enabled |
Frank Gevaerts | f366090 | 2010-09-17 20:28:47 +0000 | [diff] [blame] | 266 | #endif |
Jeffrey Goode | cf19ba5 | 2009-09-25 15:46:38 +0000 | [diff] [blame] | 267 | ,&compressor_menu |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 268 | #endif |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 269 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) |
| 270 | ,&loudness,&avc,&superbass,&mdb_enable,&mdb_strength |
| 271 | ,&mdb_harmonics,&mdb_center,&mdb_shape |
| 272 | #endif |
Maurus Cuelenaere | 6c252a6 | 2009-03-02 18:18:24 +0000 | [diff] [blame] | 273 | #ifdef HAVE_SPEAKER |
Amaury Pouly | 1245c5f | 2017-01-14 01:40:12 +0100 | [diff] [blame] | 274 | ,&speaker_mode |
Maurus Cuelenaere | 6c252a6 | 2009-03-02 18:18:24 +0000 | [diff] [blame] | 275 | #endif |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 276 | ); |
Jonathan Gordon | fe3cfcc | 2007-02-08 10:28:42 +0000 | [diff] [blame] | 277 | |