Re: Better support for Focusrite saffire pro 6 usb 1

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

 



Juho Jokelainen wrote:
> +               for (i = 0; i < alts->desc.bNumEndpoints; ++i) {
> +                       if (alts->endpoint[i].desc.bEndpointAddress == fmt->endpoint)
> +                               alts->endpoint[i].enabled = 1;
> +                       else if (need_init)
> +                               alts->endpoint[i].enabled = 0;

This field is set by the USB framework; changing it from other code does
not make sense.

We need to track the state of the interface, not of the endpoint.


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux