[alsa-devel] [PATCH RFC] usb: add usb_fill_iso_urb()

Clemens Ladisch clemens at ladisch.de
Tue Jul 17 08:54:34 CEST 2018


Sebastian Andrzej Siewior wrote:
> sound/ is (almost) the only part where struct usb_iso_packet_descriptor
> init does not fit. It looks like it is done just before urb_submit() and
> could be avoided there (moved to the init funtcion instead).

For playback, the packet lengths change dynamically, because the nominal
sample rate (let alone the actual sample rate) often is not an integer
multiple of the 1 kHz/8 kHz USB frame rate.


Regards,
Clemens


More information about the Alsa-devel mailing list