Re: Need help getting Edirol SD-90 (USB) working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-user@xxxxxxxxxxxxxx

On Fri, Apr 30, 2010 at 01:03, Clemens Ladisch <clemens@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux