ALSA: emu10k1: apply channel delay hack to all E-MU cards
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Wed, 10 May 2023 17:39:08 +0000 (19:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2023 07:17:18 +0000 (09:17 +0200)
commitf549466b8b8519260e49460543dff9b37f280cc9
tree3aff31013ea5b2404438863267774a821df49c85
parent4c7bfbcf7516b0804ba0204e865f885baca604e4
ALSA: emu10k1: apply channel delay hack to all E-MU cards

Evidently, the channel delay bug exists in all E-MU cards; it's in the
Hana FPGA program, and was never fixed.

Note that the implementation is somewhat lazy - to localize the code
paths, we actually waste a GPR and a DSP instruction by keeping two
delay registers for the same physical source.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230510173917.3073107-6-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/emu10k1.h
sound/pci/emu10k1/emufx.c