alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* ALSA: usb-mixer: Add support for UAC2 devices
@ 2010-03-11 20:13 Daniel Mack
  2010-03-11 20:13 ` [PATCH 1/6] linux/usb/audio.h: split header Daniel Mack
  2010-03-12 11:46 ` ALSA: usb-mixer: Add support for UAC2 devices Takashi Iwai
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Mack @ 2010-03-11 20:13 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, clemens

This patch series adds support for mixer interfaces in USB audio class
v2 devices. Successfully tested on a XMOS L1 eval kit. They apply on
top of the topic/usb branch.

There's a number significant differences between v1 and v2
implementations, which the patches itself may explain best :)

I moved most quirks out into a seperate file, and hope you agree that
it's cleaner that way. Most descriptors are now parsed with structs
which makes the code more readable. However, there are quite some
descriptors with variable field lengths so they can't be mapped into
structs. I introduces some macros to access these fields.

Again, please test this with v1 devices, as I can't be entirely
confident that I didn't break anything in the transition.

Thanks,
Daniel


[PATCH 1/6] linux/usb/audio.h: split header
[PATCH 2/6] ALSA: usb-mixer: use defines from audio.h
[PATCH 3/6] ALSA: usb-mixer: factor out quirks
[PATCH 4/6] ALSA: usb-mixer: rename usbmixer.[ch] -> mixer.[ch]
[PATCH 5/6] ALSA: usb-mixer: parse descriptors with structs
[PATCH 6/6] ALSA: usb-mixer: Add support for Audio Class v2.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-03-12 11:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 20:13 ALSA: usb-mixer: Add support for UAC2 devices Daniel Mack
2010-03-11 20:13 ` [PATCH 1/6] linux/usb/audio.h: split header Daniel Mack
2010-03-11 20:13   ` [PATCH 2/6] ALSA: usb-mixer: use defines from audio.h Daniel Mack
2010-03-11 20:13     ` [PATCH 3/6] ALSA: usb-mixer: factor out quirks Daniel Mack
2010-03-11 20:13       ` [PATCH 4/6] ALSA: usb-mixer: rename usbmixer.[ch] -> mixer.[ch] Daniel Mack
2010-03-11 20:13         ` [PATCH 5/6] ALSA: usb-mixer: parse descriptors with structs Daniel Mack
2010-03-11 20:13           ` [PATCH 6/6] ALSA: usb-mixer: Add support for Audio Class v2.0 Daniel Mack
2010-03-11 20:17   ` [PATCH 1/6] linux/usb/audio.h: split header Daniel Mack
2010-03-12  2:55     ` Greg KH
2010-03-12 11:46 ` ALSA: usb-mixer: Add support for UAC2 devices Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).