Lines Matching refs:pvoice
217 struct snd_gus_voice * pvoice,
220 pvoice->use = 1;
224 pvoice->pcm = 1;
227 pvoice->synth = 1;
228 pvoice->client = client;
229 pvoice->port = port;
232 pvoice->midi = 1;
233 pvoice->client = client;
234 pvoice->port = port;
241 struct snd_gus_voice *pvoice;
253 pvoice = &gus->gf1.voices[idx];
254 if (!pvoice->use) {
255 snd_gf1_alloc_voice_use(gus, pvoice, type, client, port);
257 return pvoice;
261 pvoice = &gus->gf1.voices[idx];
262 if (pvoice->midi && !pvoice->client) {
263 snd_gf1_clear_voices(gus, pvoice->number, pvoice->number);
264 snd_gf1_alloc_voice_use(gus, pvoice, type, client, port);
266 return pvoice;