[alsa-devel] usb-audio: Correct way to do a mixer quirk?

Clemens Ladisch clemens at ladisch.de
Mon Feb 20 22:40:25 CET 2012


Mark Hills wrote:
> On Mon, 20 Feb 2012, Clemens Ladisch wrote:
>> Mark Hills wrote:
>>> The Electrix Ebox-44 is a new USB interface, but the MIXER_UNIT descriptor
>>> is broken and refers to a non-existing unit_id.
>>
>> I'd suggest to change the code to not abort if a unit doesn't exist.
>
> It would seem a little strange to skip over the error for one specific
> condition to accomodate a specific device -- when the rest of the code
> does not generally do this?

It's still possible to complain about the broken firmware, but there is
no reason to prevent the user from accessing the PCM streams and all
other mixer controls just because one descriptors happens to be wrong.


Regards,
Clemens


More information about the Alsa-devel mailing list