diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/creative-zvm/audio-creativezvm.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/audio-creativezvm.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/audio-creativezvm.c b/firmware/target/arm/tms320dm320/creative-zvm/audio-creativezvm.c new file mode 100644 index 0000000000..1e5676b19e --- /dev/null +++ b/firmware/target/arm/tms320dm320/creative-zvm/audio-creativezvm.c | |||
@@ -0,0 +1,44 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: audio-c200_e200.c 14624 2007-09-06 03:01:41Z lowlight $ | ||
9 | * | ||
10 | * Copyright (C) 2007 by Michael Sevakis | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #include "cpu.h" | ||
20 | #include "kernel.h" | ||
21 | #include "sound.h" | ||
22 | |||
23 | const struct sound_settings_info audiohw_settings[] = { | ||
24 | [SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25}, | ||
25 | [SOUND_BASS] = {"dB", 1, 15, -60, 90, 0}, | ||
26 | [SOUND_TREBLE] = {"dB", 1, 15, -60, 90, 0}, | ||
27 | [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, | ||
28 | [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, | ||
29 | [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, | ||
30 | }; | ||
31 | |||
32 | |||
33 | void audiohw_init(void) | ||
34 | { | ||
35 | } | ||
36 | |||
37 | void audiohw_close(void) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | void audiohw_mute(bool mute) | ||
42 | { | ||
43 | (void) mute; | ||
44 | } | ||