diff options
author | Alexander Tsoy <alexander@tsoy.me> | 2020-06-29 04:59:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-06-30 19:46:48 +0200 |
commit | 695cf5ab401c1a368fed228ee4a624784cd17fc5 (patch) | |
tree | aeeea43edf7439b9213fe167db80493ab044285f /sound/synth | |
parent | ALSA: hda - let hs_mic be picked ahead of hp_mic (diff) | |
download | linux-695cf5ab401c1a368fed228ee4a624784cd17fc5.tar.xz linux-695cf5ab401c1a368fed228ee4a624784cd17fc5.zip |
ALSA: usb-audio: Fix packet size calculation
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@tsoy.me>
Link: https://lore.kernel.org/r/20200629025934.154288-1-alexander@tsoy.me
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions