mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
ALSA: emu10k1: remove pointless displacement of the extra voices
The idea is to make the extra voice lag behind the "real" voices, but moving the buffer address around doesn't contribute to that, as the CCCA write below uses the same address. The exact address is unimportant, as the data is discarded anyway. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230517174256.3657060-3-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
1e5323bd77
commit
be3b7629e1
|
|
@ -288,10 +288,6 @@ static void snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu,
|
|||
|
||||
if (master) {
|
||||
evoice->epcm->ccca_start_addr = start_addr + ccis;
|
||||
if (extra) {
|
||||
start_addr += ccis;
|
||||
end_addr += ccis;
|
||||
}
|
||||
}
|
||||
if (stereo && !extra) {
|
||||
// Not really necessary for the slave, but it doesn't hurt
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user