1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2006 Dan Everton
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.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
26 /* Various user interface limits and sizes */
27 #define EQ_CUTOFF_MIN 20
28 #define EQ_CUTOFF_MAX 22040
29 #define EQ_CUTOFF_STEP 10
30 #define EQ_CUTOFF_FAST_STEP 100
31 #define EQ_GAIN_MIN (-240)
32 #define EQ_GAIN_MAX 240
33 #define EQ_GAIN_STEP 5
34 #define EQ_GAIN_FAST_STEP 10
38 #define EQ_Q_FAST_STEP 10
40 #define EQ_USER_DIVISOR 10
42 bool eq_browse_presets(void);
43 bool eq_menu_graphical(void);
45 /* utility functions for settings_list.c */
46 const char* eq_q_format(char* buffer
, size_t buffer_size
, int value
,
48 const char* eq_precut_format(char* buffer
, size_t buffer_size
, int value
,