Lines Matching refs:update
35 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update);
235 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press()
255 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update) in snd_emux_update_channel() argument
262 if (! update) in snd_emux_update_channel()
266 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel()
273 update_voice(emu, vp, update); in snd_emux_update_channel()
282 snd_emux_update_port(struct snd_emux_port *port, int update) in snd_emux_update_port() argument
289 if (! update) in snd_emux_update_port()
293 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port()
300 update_voice(emu, vp, update); in snd_emux_update_port()
511 update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update) in update_voice() argument
518 if (update & SNDRV_EMUX_UPDATE_VOLUME) in update_voice()
520 if (update & SNDRV_EMUX_UPDATE_PITCH) in update_voice()
522 if (update & SNDRV_EMUX_UPDATE_PAN) { in update_voice()
523 if (! calc_pan(vp) && (update == SNDRV_EMUX_UPDATE_PAN)) in update_voice()
526 emu->ops.update(vp, update); in update_voice()