It's working great in "Vender" mode now. Thanks again for all your help.

Yes, I'm fine with being credited if you think I've done enough to
deserve it. :-)  You can use this email address,
alsa-u...@grusendorf.ca.

On Fri, Apr 30, 2010 at 01:03, Clemens Ladisch <clem...@ladisch.de> wrote:
> I wrote:
>> This cannot be fixed with a simple entry in the quirks header; I'll
>> write a new patch for the driver.
>
> Please apply the patch below (in addition to the quirks-table.h patch),
> or get the new file from <http://www.alsa-project.org/~clemens/format.c>.
>
> If you are OK with being credited, what e-mail address should be used?
> Reported-any-tested-by: Jim Grusendorf <???>
>
>
> --- a/sound/usb/format.c
> +++ b/sound/usb/format.c
> @@ -77,8 +77,11 @@
>                format = 1 << UAC_FORMAT_TYPE_I_PCM;
>        }
>        if (format & (1 << UAC_FORMAT_TYPE_I_PCM)) {
> -               if (sample_width > sample_bytes * 8) {
> -                       snd_printk(KERN_INFO "%d:%u:%d : sample bitwidth %d 
> in over sample bytes %d\n",
> +               if (chip->usb_id == USB_ID(0x0582, 0x0016) /* Edirol SD-90 */ 
> &&
> +                   sample_width == 24 && sample_bytes == 2) {
> +                       sample_bytes = 3;
> +               } else if (sample_width > sample_bytes * 8) {
> +                       snd_printk(KERN_ERR "%d:%u:%d : sample bitwidth %d is 
> over sample bytes %d\n",
>                                   chip->dev->devnum, fp->iface, 
> fp->altsetting,
>                                   sample_width, sample_bytes);
>                }
>

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to