Lines Matching refs:update
48 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update);
250 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press()
270 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update) in snd_emux_update_channel() argument
277 if (! update) in snd_emux_update_channel()
281 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel()
288 update_voice(emu, vp, update); in snd_emux_update_channel()
297 snd_emux_update_port(struct snd_emux_port *port, int update) in snd_emux_update_port() argument
304 if (! update) in snd_emux_update_port()
308 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port()
315 update_voice(emu, vp, update); in snd_emux_update_port()
526 update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update) in update_voice() argument
533 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice()
535 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice()
537 if (update & SNDRV_EMUX_UPDATE_PAN) { in update_voice()
538 if (! calc_pan(vp) && (update == SNDRV_EMUX_UPDATE_PAN)) in update_voice()
541 emu->ops.update(vp, update); in update_voice()