Lines Matching defs:pvoice
218 struct snd_gus_voice * pvoice,
221 pvoice->use = 1;
225 pvoice->pcm = 1;
228 pvoice->synth = 1;
229 pvoice->client = client;
230 pvoice->port = port;
233 pvoice->midi = 1;
234 pvoice->client = client;
235 pvoice->port = port;
242 struct snd_gus_voice *pvoice;
254 pvoice = &gus->gf1.voices[idx];
255 if (!pvoice->use) {
256 snd_gf1_alloc_voice_use(gus, pvoice, type, client, port);
258 return pvoice;
262 pvoice = &gus->gf1.voices[idx];
263 if (pvoice->midi && !pvoice->client) {
264 snd_gf1_clear_voices(gus, pvoice->number, pvoice->number);
265 snd_gf1_alloc_voice_use(gus, pvoice, type, client, port);
267 return pvoice;