1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Implementation of MAS35xx audiohw api driver.
12 * Copyright (C) 2007 by Christian Gmeiner
14 * All files in this archive are subject to the GNU General Public License.
15 * See the file COPYING in the source tree root for full license agreement.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
27 #define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP)
29 #if CONFIG_CODEC == MAS3507D
30 #define VOLUME_MIN -780
31 #define VOLUME_MAX 180
33 #define VOLUME_MIN -400
34 #define VOLUME_MAX 600
38 #if CONFIG_CODEC == MAS3507D
40 static const unsigned int bass_table
[] =
75 static const unsigned int treble_table
[] =
110 static const unsigned int prescale_table
[] =
129 #endif /*CONFIG_CODEC == MAS3507D*/
131 #endif /* _MAS35XX_H */