diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2012-11-28 23:55:34 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-29 08:42:54 +0100 |
commit | 28acb12014fb0c3e1edfdab1b1e3e266cf651550 (patch) | |
tree | b2d6059123eeddba87acac4784078cb05c611547 /sound/usb/mixer_quirks.c | |
parent | fde854bdaf603a99a80b9545c0aaca9ccd02dd31 (diff) | |
download | op-kernel-dev-28acb12014fb0c3e1edfdab1b1e3e266cf651550.zip op-kernel-dev-28acb12014fb0c3e1edfdab1b1e3e266cf651550.tar.gz |
ALSA: usb-audio: use sender stride for implicit feedback
For implicit feedback endpoints, the number of bytes for each packet
is matched by the corresponding synchronizing endpoint.
The size is calculated by taking the actual size and dividing it by
the stride - currently by the endpoint's stride, but we should use the
synchronization source's stride.
This is evident when the number of channels differ between the
synchronization source and the implicitly fed-back endpoint, as with
M-Audio Fast Track C400 - the synchronization source (capture)
has 4 channels, while the implicit feedback mode endpoint has 6.
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_quirks.c')
0 files changed, 0 insertions, 0 deletions