Commit 39e95156 authored by Eldad Zack's avatar Eldad Zack Committed by Takashi Iwai

ALSA: usb-audio: selector map for M-Audio FT C400

Add names of the clock sources for the M-Audio Fast Track
C400.
Signed-off-by: default avatarEldad Zack <eldad@fogrefinery.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 83e3acd4
...@@ -179,6 +179,15 @@ static struct usbmix_name_map audigy2nx_map[] = { ...@@ -179,6 +179,15 @@ static struct usbmix_name_map audigy2nx_map[] = {
{ 0 } /* terminator */ { 0 } /* terminator */
}; };
static struct usbmix_selector_map c400_selectors[] = {
{
.id = 0x80,
.count = 2,
.names = (const char*[]) {"Internal", "SPDIF"}
},
{ 0 } /* terminator */
};
static struct usbmix_selector_map audigy2nx_selectors[] = { static struct usbmix_selector_map audigy2nx_selectors[] = {
{ {
.id = 14, /* Capture Source */ .id = 14, /* Capture Source */
...@@ -366,6 +375,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = { ...@@ -366,6 +375,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
.id = USB_ID(0x06f8, 0xc000), .id = USB_ID(0x06f8, 0xc000),
.map = hercules_usb51_map, .map = hercules_usb51_map,
}, },
{
.id = USB_ID(0x0763, 0x2030),
.selector_map = c400_selectors,
},
{ {
.id = USB_ID(0x08bb, 0x2702), .id = USB_ID(0x08bb, 0x2702),
.map = linex_map, .map = linex_map,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment