From: Daniel Mack <daniel@caiaq.de>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, clemens@ladisch.de
Subject: ALSA: usb-mixer: Add support for UAC2 devices
Date: Thu, 11 Mar 2010 21:13:19 +0100 [thread overview]
Message-ID: <1268338405-8944-1-git-send-email-daniel@caiaq.de> (raw)
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
next reply other threads:[~2010-03-11 20:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 20:13 Daniel Mack [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1268338405-8944-1-git-send-email-daniel@caiaq.de \
--to=daniel@caiaq.de \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).