ALSA: emu10k1: simplify tone control switch DSP code
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Wed, 10 May 2023 17:39:09 +0000 (19:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2023 07:17:38 +0000 (09:17 +0200)
commit59f038a09c62d77de91387ddcff66e54d99f2ec9
tree1992e5f159bf9f1457504e8f15b769e50c802bb0
parentf549466b8b8519260e49460543dff9b37f280cc9
ALSA: emu10k1: simplify tone control switch DSP code

Instead of using lots of instructions to mix wet and dry signals,
simply skip over the whole code block if tone control is disabled.
This also allows us doing away with the "shadow" playback channels.

Tested-by: Jonathan Dowland <jon@dow.land>
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230510173917.3073107-7-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emufx.c