Lines Matching refs:chan
327 struct snd_midi_channel *chan; in emuspec_control() local
331 chan = NULL; in emuspec_control()
333 chan = &port->chset.channels[voice]; in emuspec_control()
345 if (chan) in emuspec_control()
346 snd_emux_send_effect_oss(port, chan, p1, p2); in emuspec_control()
375 if (chan) { in emuspec_control()
376 chan->midi_pressure = p1; in emuspec_control()
377 snd_emux_update_channel(port, chan, SNDRV_EMUX_UPDATE_FMMOD|SNDRV_EMUX_UPDATE_FM2FRQ2); in emuspec_control()
389 chan = &port->chset.channels[i]; in emuspec_control()
390 chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; in emuspec_control()
421 struct snd_midi_channel *chan; in gusspec_control() local
431 chan = &port->chset.channels[voice]; in gusspec_control()
438 chan->midi_program = p1; in gusspec_control()
443 chan->control[MIDI_CTL_MSB_PAN] = (int)p1 << 3; in gusspec_control()
444 snd_emux_update_channel(port, chan, SNDRV_EMUX_UPDATE_PAN); in gusspec_control()
465 snd_emux_send_effect(port, chan, EMUX_FX_SAMPLE_START, in gusspec_control()
468 snd_emux_send_effect(port, chan, EMUX_FX_COARSE_SAMPLE_START, in gusspec_control()