diff options
author | Hector Martin <[email protected]> | 2020-08-10 17:24:00 +0900 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2020-08-10 12:57:12 +0200 |
commit | 1b7ecc241a67ad6b584e071bd791a54e0cd5f097 (patch) | |
tree | f3f50d33541982032c151bfe33a91378584f1120 /lib/mpi/mpi-sub-ui.c | |
parent | 386a6539992b82fe9ac4f9dc3f548956fd894d8c (diff) |
ALSA: usb-audio: work around streaming quirk for MacroSilicon MS2109
Further investigation of the L-R swap problem on the MS2109 reveals that
the problem isn't that the channels are swapped, but rather that they
are swapped and also out of phase by one sample. In other words, the
issue is actually that the very first frame that comes from the hardware
is a half-frame containing only the right channel, and after that
everything becomes offset.
So introduce a new quirk field to drop the very first 2 bytes that come
in after the format is configured and a capture stream starts. This puts
the channels in phase and in the correct order.
Cc: [email protected]
Signed-off-by: Hector Martin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions