Sansa Fuzev2: Add mkamsboot and dualboot support. The bootloader doesn't work, but...
[kugel-rb.git] / apps / menus / eq_menu.h
blob7dded00157f119539ae136973f51679d927cd519
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
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 ****************************************************************************/
21 #ifndef _EQ_MENU_H
22 #define _EQ_MENU_H
24 #include "menu.h"
25 #include "config.h"
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
35 #define EQ_Q_MIN 5
36 #define EQ_Q_MAX 64
37 #define EQ_Q_STEP 1
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,
47 const char* unit);
48 const char* eq_precut_format(char* buffer, size_t buffer_size, int value,
49 const char* unit);
51 #endif