1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 * Copyright (c) 2011 Andrew Ryabinin
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
27 const struct sound_settings_info audiohw_settings
[] = {
28 [SOUND_VOLUME
] = {"dB", 0, 1, -1, 0, 0},
29 /* HAVE_SW_TONE_CONTROLS */
30 [SOUND_BASS
] = {"dB", 0, 1, -24, 24, 0},
31 [SOUND_TREBLE
] = {"dB", 0, 1, -24, 24, 0},
32 [SOUND_BALANCE
] = {"%", 0, 1,-100, 100, 0},
33 [SOUND_CHANNELS
] = {"", 0, 1, 0, 5, 0},
34 [SOUND_STEREO_WIDTH
] = {"%", 0, 5, 0, 250, 100},
37 void audiohw_preinit(void) { }
39 void audiohw_postinit(void) { }
41 void audiohw_close(void) { }
43 void audiohw_set_frequency(int fsel
)