[alsa-devel] A plea for help on mixer support for Fast Track Ultra (8R)

Clemens Ladisch clemens at ladisch.de
Thu May 19 09:15:22 CEST 2011


Felix Homann wrote:
> Am 19.05.2011 07:42, schrieb Takashi Iwai:
> > I see no big reason to make things more complex.  If you want to avoid
> > the standard audio parsing after quirk but only parse mixer, just call
> > snd_usb_create_mixer() in your quirk function.
> 
> Maybe I'm misunderstanding your point. But I think your suggestion is 
> making things more complex.
> 
> I don't want to avoid the standard audio parsing. I want to use standard
> quirks if possible and still would like a means to call
> snd_usb_create_mixer(). That's all.

The quirks-table.h framework handles only quirks that attach to a USB
interface.  So create a FTU mixer quirk for intf 0 (or a generic quirk
with a separate table of mixer controls).

> Moreover, I can't believe that the Fast Track Ultra devices are the only
> ones in the world which have a standard USB mixer without exposing it
> through the descriptors.

So far, they are the only ones where somebody bothered to find out what
the controls are.

(Many vendor-specific controls don't implement the complex class-
compliant mixer protocol.)

> I knew it wasn't ready for submission. After generating the patch I send 
> I had already corrected the whitespaces and those lines with over 80 
> characters that weren't just copies from other locations. The remaining 
> issues like "! cval" and "ERROR: do not use assignment in if condition" 
> were all taken literally from other locations inside the respective 
> files.

"Do as I say, not as I do."  ;-)


Regards,
Clemens


More information about the Alsa-devel mailing list