• Jaroslav Kysela's avatar
    [ALSA] split snd_emu10k1_trigger_voice into trigger and prepare functions · 3bac07c8
    Jaroslav Kysela authored
    EMU10K1/EMU10K2 driver
    This patch provides better sync between multiple voices by separating
    the trigger_voice function into prepare_voice which sets up the volume
    and filter parameters and trigger_voice which sets pitch target, current
    and initial pitch and enables the voice interrupt.  For standard PCM
    this should not make much of a difference but will be important for
    minimizing phase error between voices for multichannel PCM.
    
    This behavior was derived from the opensource.creative.com driver.
    Signed-off-by: default avatarLee Revell <rlrevell@joe-job.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    3bac07c8
emupcm.c 43.8 KB