diff options
| author | Eldad Zack <eldad@fogrefinery.com> | 2013-01-13 17:02:04 -0500 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2013-01-14 04:06:11 -0500 |
| commit | 39e95156b9c778de37f5bf72e50fbdbbbdfb7630 (patch) | |
| tree | 8e260225e46375e531936fc235521af8c778b421 | |
| parent | 83e3acd494f47dc5dababfe6156c6178aca5c3a9 (diff) | |
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: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
| -rw-r--r-- | sound/usb/mixer_maps.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c index e71fe55cebef..0e2ed3d05c45 100644 --- a/sound/usb/mixer_maps.c +++ b/sound/usb/mixer_maps.c | |||
| @@ -179,6 +179,15 @@ static struct usbmix_name_map audigy2nx_map[] = { | |||
| 179 | { 0 } /* terminator */ | 179 | { 0 } /* terminator */ |
| 180 | }; | 180 | }; |
| 181 | 181 | ||
| 182 | static struct usbmix_selector_map c400_selectors[] = { | ||
| 183 | { | ||
| 184 | .id = 0x80, | ||
| 185 | .count = 2, | ||
| 186 | .names = (const char*[]) {"Internal", "SPDIF"} | ||
| 187 | }, | ||
| 188 | { 0 } /* terminator */ | ||
| 189 | }; | ||
| 190 | |||
| 182 | static struct usbmix_selector_map audigy2nx_selectors[] = { | 191 | static struct usbmix_selector_map audigy2nx_selectors[] = { |
| 183 | { | 192 | { |
| 184 | .id = 14, /* Capture Source */ | 193 | .id = 14, /* Capture Source */ |
| @@ -367,6 +376,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = { | |||
| 367 | .map = hercules_usb51_map, | 376 | .map = hercules_usb51_map, |
| 368 | }, | 377 | }, |
| 369 | { | 378 | { |
| 379 | .id = USB_ID(0x0763, 0x2030), | ||
| 380 | .selector_map = c400_selectors, | ||
| 381 | }, | ||
| 382 | { | ||
| 370 | .id = USB_ID(0x08bb, 0x2702), | 383 | .id = USB_ID(0x08bb, 0x2702), |
| 371 | .map = linex_map, | 384 | .map = linex_map, |
| 372 | .ignore_ctl_error = 1, | 385 | .ignore_ctl_error = 1, |
