17 Jul
2018
17 Jul
'18
8:54 a.m.
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