[alsa-devel] usb-audio code refactoring, more v2 support [resend]

Daniel Mack daniel at caiaq.de
Fri Mar 5 08:52:03 CET 2010

On Fri, Mar 05, 2010 at 08:41:17AM +0100, Daniel Mack wrote:
> This is a rebased version of the usb-audio cleanup patch set.
> On top of what's already been posted, there is one more fix to support
> sample rate configuration, and one bugfix.
> Commit 864c11080 was also ported over. And Clemens' latest patches
> are also included.
> With these patches applied, I can stream audio on a class v2 device.
> At least for awhile, then I get CRC errors in DATA0 packets. But
> that's a different issue.
> What's not yet done is all the feature unit parsing, mixers etc.
> Daniel
> [PATCH 1/8] ALSA: usb-audio: move ua101 driver
> [PATCH 2/8] ALSA: usb-audio: header file cleanups
> [PATCH 3/8] ALSA: usb-audio: refactor code
> [PATCH 4/8] ALSA: usb-audio: rename substream format field to altset_idx
> [PATCH 5/8] ALSA: usb-audio: use a format bitmask per alternate setting
> [PATCH 6/8] ALSA: usb-audio: support multiple formats with audio class v2 devices
> [PATCH 7/8] ALSA: usb-audio: add support for samplerate setting on v2 devices
> [PATCH 8/8] usb/audio.h: Fix field order

Takashi applied all these now to a new branch. Even though the changes
made to the driver should only affect devices compliant to v2 of the USB
audio standard, I could have introduced bugs when refactoring the code.

So - if anyone with a common USB audio device could try this branch and
report any regressions, that would help a lot, and make the branch merge
smoother eventually.

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git topic/usb

More information about the Alsa-devel mailing list