[linux-audio-dev] USB audio.c driver patch; complete n-channel/24 bit patch

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] USB audio.c driver patch; complete n-channel/24 bit patch
From: Monty (xiphmont_AT_xiph.org)
Date: Fri Oct 25 2002 - 14:13:58 EEST


Apologies taking time to package this up. The patches included are
tested against 2.4.19 or later.

This patch fixes a few bugs and implements full n-channel support of
greater-than-stereo USB audio devices, such as the emagic emi 2|6. I
also opted to make the minor extention to OSS to define 24 and 32 bit
AFMT modes, and the patch includes this. It does not break any
existing OSS compatability, and unaware apps can continue to be
unaware. The modified audio.c will build without the OSS extentions
to soundcard.h.

As suggested, I didn't bother with OSS mixer extentions. The device I
care about most doesn't expose a per-channel mixer feature regardless.

Also, I was wrong: 2.5's audio.c is different, but the differences
appear to be for the sake of keeping up with other changes to USB
support. I did not attempt to apply the included patch to 2.5's
audio.c, but I'd give it even odds with sufficient fuzz.

Monty




New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Oct 25 2002 - 14:24:03 EEST