[alsa-devel] [PATCH] ALSA: usb: Work around CM6631 sample rate change bug

Clemens Ladisch clemens at ladisch.de
Mon Mar 4 11:31:59 CET 2013


Takashi Iwai wrote:
> Torstein Hegge wrote:
>> On Sat, Mar 02, 2013 at 02:12:33PM +0100, Daniel Mack wrote:
>>> On 02.03.2013 14:04, Torstein Hegge wrote:
>>>> The C-Media CM6631 USB-to-S/PDIF receiver doesn't respond to changes in
>>>> sampling frequency while the interface is active.

>>>> +	case USB_ID(0x0d8c, 0x0304): /* C-Media - Schiit USB Interface */
>>>> +	case USB_ID(0x0d8c, 0x0309): /* C-Media CM6631 */

There are other CM6631-based devices.

> If the reset of interface is needed only when *changing* SRC, we can
> check the current rate against the previous rate and skip the reset?

Or, if we want to be more similar to what many Windows drivers do, reset
the interface to altsetting zero before setting it again.


Regards,
Clemens


More information about the Alsa-devel mailing list