[alsa-devel] [PATCH v2] add native DSD support for XMOS based DACs

Jurgen Kramer gtmkramer at xs4all.nl
Fri Sep 5 17:41:13 CEST 2014


On Fri, 2014-09-05 at 17:26 +0200, Clemens Ladisch wrote:
> Jurgen Kramer wrote:
> > +	/* XMOS based USB DACs */
> > +	if (le16_to_cpu(chip->dev->descriptor.idVendor) == 0x20b1) {
> > +		switch (le16_to_cpu(chip->dev->descriptor.idProduct)) {
> > +		/* iFi Audio micro/nano iDSD */
> > +		case 0x3008:
> 
> And you don't need to go through the descriptors; you can test
> chip->usb_id directly (see snd_usb_set_format_quirk()).
Thanks, will do!

Jurgen




More information about the Alsa-devel mailing list