提交 c7a93b85 编写于 作者: C Clemens Ladisch 提交者: Jaroslav Kysela

[ALSA] usb-audio: add Maya44 mixer control names

Modules: USB generic driver

Add mixer control names for the AudioTrak Maya44 USB.
Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
上级 9808dc96
...@@ -195,6 +195,22 @@ static struct usbmix_name_map linex_map[] = { ...@@ -195,6 +195,22 @@ static struct usbmix_name_map linex_map[] = {
{ 0 } /* terminator */ { 0 } /* terminator */
}; };
static struct usbmix_name_map maya44_map[] = {
/* 1: IT line */
{ 2, "Line Playback" }, /* FU */
/* 3: IT line */
{ 4, "Line Playback" }, /* FU */
/* 5: IT pcm playback */
/* 6: MU */
{ 7, "Master Playback" }, /* FU */
/* 8: OT speaker */
/* 9: IT line */
{ 10, "Line Capture" }, /* FU */
/* 11: MU */
/* 12: OT pcm capture */
{ }
};
/* Section "justlink_map" below added by James Courtier-Dutton <James@superbug.demon.co.uk> /* Section "justlink_map" below added by James Courtier-Dutton <James@superbug.demon.co.uk>
* sourced from Maplin Electronics (http://www.maplin.co.uk), part number A56AK * sourced from Maplin Electronics (http://www.maplin.co.uk), part number A56AK
* Part has 2 connectors that act as a single output. (TOSLINK Optical for digital out, and 3.5mm Jack for Analogue out.) * Part has 2 connectors that act as a single output. (TOSLINK Optical for digital out, and 3.5mm Jack for Analogue out.)
...@@ -252,6 +268,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = { ...@@ -252,6 +268,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
.map = linex_map, .map = linex_map,
.ignore_ctl_error = 1, .ignore_ctl_error = 1,
}, },
{
.id = USB_ID(0x0a92, 0x0091),
.map = maya44_map,
},
{ {
.id = USB_ID(0x0c45, 0x1158), .id = USB_ID(0x0c45, 0x1158),
.map = justlink_map, .map = justlink_map,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册