aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-04-01 06:14:14 -0500
committerJaroslav Kysela <perex@suse.cz>2005-05-29 03:01:00 -0400
commit54ab87e6f53099b9a480b56149fa621c3132c076 (patch)
tree366f5ce06ab26195426a79413d4271a08c1d0888 /sound
parent2668907a825702ba9c0e603f160a993b034572f5 (diff)
[ALSA] Add mixer map for Sound Blaster MP3+
USB generic driver Added the mixer mapping for Sound Blaster MP3+ by Pavel Mihaylov <bin@bash.info> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/usbmixer_maps.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/sound/usb/usbmixer_maps.c b/sound/usb/usbmixer_maps.c
index c69b4b0875f8..1e994c9d86d9 100644
--- a/sound/usb/usbmixer_maps.c
+++ b/sound/usb/usbmixer_maps.c
@@ -91,6 +91,33 @@ static struct usbmix_name_map extigy_map[] = {
91 { 0 } /* terminator */ 91 { 0 } /* terminator */
92}; 92};
93 93
94/* Sound Blaster MP3+ controls mapping
95 * The default mixer channels have totally misleading names,
96 * e.g. no Master and fake PCM volume
97 * Pavel Mihaylov <bin@bash.info>
98 */
99static struct usbmix_name_map mp3plus_map[] = {
100 /* 1: IT pcm */
101 /* 2: IT mic */
102 /* 3: IT line */
103 /* 4: IT digital in */
104 /* 5: OT digital out */
105 /* 6: OT speaker */
106 /* 7: OT pcm capture */
107 { 8, "Capture Input Source" }, /* FU, default PCM Capture Source */
108 /* (Mic, Input 1 = Line input, Input 2 = Optical input) */
109 { 9, "Master Playback" }, /* FU, default Speaker 1 */
110 /* { 10, "Mic Capture", 1 }, */ /* FU, Mic Capture */
111 /* { 10, "Mic Capture", 2 }, */ /* FU, Mic Capture */
112 { 10, "Mic Boost", 7 }, /* FU, default Auto Gain Input */
113 { 11, "Line Capture" }, /* FU, default PCM Capture */
114 { 12, "Digital In Playback" }, /* FU, default PCM 1 */
115 /* { 13, "Mic Playback" }, */ /* FU, default Mic Playback */
116 { 14, "Line Playback" }, /* FU, default Speaker */
117 /* 15: MU */
118 { 0 } /* terminator */
119};
120
94/* LineX FM Transmitter entry - needed to bypass controls bug */ 121/* LineX FM Transmitter entry - needed to bypass controls bug */
95static struct usbmix_name_map linex_map[] = { 122static struct usbmix_name_map linex_map[] = {
96 /* 1: IT pcm */ 123 /* 1: IT pcm */
@@ -128,6 +155,7 @@ static struct usbmix_name_map justlink_map[] = {
128 155
129static struct usbmix_ctl_map usbmix_ctl_maps[] = { 156static struct usbmix_ctl_map usbmix_ctl_maps[] = {
130 { 0x41e, 0x3000, extigy_map, 1 }, 157 { 0x41e, 0x3000, extigy_map, 1 },
158 { 0x41e, 0x3010, mp3plus_map, 0 },
131 { 0x8bb, 0x2702, linex_map, 1 }, 159 { 0x8bb, 0x2702, linex_map, 1 },
132 { 0xc45, 0x1158, justlink_map, 0 }, 160 { 0xc45, 0x1158, justlink_map, 0 },
133 { 0 } /* terminator */ 161 { 0 } /* terminator */