ALSA: emu10k1: enable bit-exact playback, part 4: send amounts
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:41:59 +0000 (16:41 +0200)
commitfccd6f31a450d58109f64eda2dd9294e160fb0aa
tree01e4d4fe2b15057105d964d102ca4e144ad7c8d2
parent08e55ae996cbdbd76c3eb12fcad6cc79cba7ddbc
ALSA: emu10k1: enable bit-exact playback, part 4: send amounts

On Audigy, the send amounts are merely targets, presumably to avoid
sound distortion due to sudden changes, which the EMU8K docu explicitly
warns about.

However, that "soft-start" would prevent bit-for-bit reproduction, so
we now force the current send amounts to their final values at PCM
playback init.

One might want to do that for the MIDI synthesizer as well, though it
seems mostly pointless due to the attack phase each note has anyway.

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