[alsa-devel] Better support for Focusrite saffire pro 6 usb 1
Clemens Ladisch
clemens at ladisch.de
Wed Jan 4 12:26:25 CET 2017
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
More information about the Alsa-devel
mailing list