Lines Matching defs: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))
255 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update)
262 if (! update)
266 if (snd_BUG_ON(!emu || !emu->ops.update))
273 update_voice(emu, vp, update);
282 snd_emux_update_port(struct snd_emux_port *port, int update)
289 if (! update)
293 if (snd_BUG_ON(!emu || !emu->ops.update))
300 update_voice(emu, vp, update);
511 update_voice(struct snd_emux *emu, struct snd_emux_voice *vp, int update)
518 if (update & SNDRV_EMUX_UPDATE_VOLUME)
520 if (update & SNDRV_EMUX_UPDATE_PITCH)
522 if (update & SNDRV_EMUX_UPDATE_PAN) {
523 if (! calc_pan(vp) && (update == SNDRV_EMUX_UPDATE_PAN))
526 emu->ops.update(vp, update);