1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
8 * $Id: eq_menu.h 10888 2006-09-05 11:48:17Z dan $
10 * Copyright (C) 2006 Dan Everton
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
24 /* Various user interface limits and sizes */
25 #define EQ_CUTOFF_MIN 20
26 #define EQ_CUTOFF_MAX 22040
27 #define EQ_CUTOFF_STEP 10
28 #define EQ_CUTOFF_FAST_STEP 100
29 #define EQ_GAIN_MIN (-240)
30 #define EQ_GAIN_MAX 240
31 #define EQ_GAIN_STEP 5
32 #define EQ_GAIN_FAST_STEP 10
36 #define EQ_Q_FAST_STEP 10
38 #define EQ_USER_DIVISOR 10
40 bool eq_browse_presets(void);
41 bool eq_menu_graphical(void);
43 /* utility functions for settings_list.c */
44 void eq_q_format(char* buffer
, size_t buffer_size
, int value
, const char* unit
);
45 void eq_precut_format(char* buffer
, size_t buffer_size
, int value
, const char* unit
);