Lines Matching refs:emu
94 struct snd_emux *emu; in snd_emu10k1_synth_get_voice() local
99 emu = hw->synth; in snd_emu10k1_synth_get_voice()
101 lookup_voices(emu, hw, best, 1); /* no OFF voices */ in snd_emu10k1_synth_get_voice()
105 vp = &emu->voices[best[i].voice]; in snd_emu10k1_synth_get_voice()
113 vp->emu->num_voices--; in snd_emu10k1_synth_get_voice()
182 vp->emu->num_voices--; in free_voice()
221 lookup_voices(struct snd_emux *emu, struct snd_emu10k1 *hw, in lookup_voices() argument
237 for (i = 0; i < emu->max_voices; i++) { in lookup_voices()
240 vp = &emu->voices[i]; in lookup_voices()
287 get_voice(struct snd_emux *emu, struct snd_emux_port *port) in get_voice() argument
294 hw = emu->hw; in get_voice()
296 lookup_voices(emu, hw, best, 0); in get_voice()
299 vp = &emu->voices[best[i].voice]; in get_voice()
306 emu->num_voices++; in get_voice()