[PATCH 1/2] ALSA: usb-audio: Fix packet size calculation

Takashi Iwai tiwai at suse.de
Tue Jun 30 19:47:49 CEST 2020


On Mon, 29 Jun 2020 04:59:33 +0200,
Alexander Tsoy wrote:
> 
> Commit f0bd62b64016 ("ALSA: usb-audio: Improve frames size computation")
> introduced a regression for devices which have playback endpoints with
> bInterval > 1. Fix this by taking ep->datainterval into account.
> 
> Note that frame and fps are actually mean packet and packets per second
> in the code introduces by the mentioned commit. This will be fixed in a
> follow-up patch.
> 
> Fixes: f0bd62b64016 ("ALSA: usb-audio: Improve frames size computation")
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208353
> Signed-off-by: Alexander Tsoy <alexander at tsoy.me>

Applied now.  Thanks.


Takashi


More information about the Alsa-devel mailing list