ALSA: emu10k1: fix terminating synthesizer voices
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Thu, 18 May 2023 14:03:39 +0000 (16:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 May 2023 14:40:22 +0000 (16:40 +0200)
commit5c2664cc09f94ba11c61908d5c7dac1c35d6dee8
tree8b79deb961011cd6000074705d40d3ead7362f1e
parentdf335e9a8bcb58be3b7388cff556f06eeb3d024f
ALSA: emu10k1: fix terminating synthesizer voices

Make terminate_voice() actually do at all what it's supposed to do:
instantly and completely shut down the note.

The bogus behavior was mostly harmless, as usually the voice is freed
right afterwards, which implicitly terminates it anyway.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230518140339.3722308-2-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1_callback.c