diff options
Diffstat (limited to 'firmware/drivers/audio/tda1543.c')
-rw-r--r-- | firmware/drivers/audio/tda1543.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/firmware/drivers/audio/tda1543.c b/firmware/drivers/audio/tda1543.c new file mode 100644 index 0000000000..ca51d95265 --- /dev/null +++ b/firmware/drivers/audio/tda1543.c | |||
@@ -0,0 +1,46 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * | ||
11 | * Copyright (c) 2011 Andrew Ryabinin | ||
12 | * | ||
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. | ||
17 | * | ||
18 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
19 | * KIND, either express or implied. | ||
20 | * | ||
21 | ****************************************************************************/ | ||
22 | |||
23 | #include "config.h" | ||
24 | #include "audio.h" | ||
25 | #include "audiohw.h" | ||
26 | |||
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}, | ||
35 | }; | ||
36 | |||
37 | void audiohw_preinit(void) { } | ||
38 | |||
39 | void audiohw_postinit(void) { } | ||
40 | |||
41 | void audiohw_close(void) { } | ||
42 | |||
43 | void audiohw_set_frequency(int fsel) | ||
44 | { | ||
45 | (void)fsel; | ||
46 | } | ||