Lines Matching defs:update
35 static void update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update);
228 if (snd_BUG_ON(!emu || !emu->ops.update))
247 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update)
253 if (! update)
257 if (snd_BUG_ON(!emu || !emu->ops.update))
264 update_voice(emu, vp, update);
272 snd_emux_update_port(struct snd_emux_port *port, int update)
278 if (! update)
282 if (snd_BUG_ON(!emu || !emu->ops.update))
289 update_voice(emu, vp, update);
491 update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update)
498 if (update & SNDRV_EMUX_UPDATE_VOLUME)
500 if (update & SNDRV_EMUX_UPDATE_PITCH)
502 if (update & SNDRV_EMUX_UPDATE_PAN) {
503 if (! calc_pan(vp) && (update == SNDRV_EMUX_UPDATE_PAN))
506 emu->ops.update(vp, update);