Lines Matching defs:vp
199 struct snd_emux_voice *vp = &emu->voices[i];
200 if (!STATE_IS_PLAYING(vp->state) || vp->chan != chan)
202 srcp = (unsigned char *)&vp->reg.parm + offset;
203 origp = (unsigned char *)&vp->zone->v.parm + offset;
221 snd_emux_setup_effect(struct snd_emux_voice *vp)
223 struct snd_midi_channel *chan = vp->chan;
247 srcp = (unsigned char*)&vp->reg.parm + offset;
255 vp->reg.start += effect_get_offset(chan, EMUX_FX_SAMPLE_START,
257 vp->reg.sample_mode);
259 vp->reg.loopstart += effect_get_offset(chan, EMUX_FX_LOOP_START,
261 vp->reg.sample_mode);
263 vp->reg.loopend += effect_get_offset(chan, EMUX_FX_LOOP_END,
265 vp->reg.sample_mode);