Lines Matching refs:pvoice
172 struct snd_gus_voice *pvoice) in snd_gf1_pcm_interrupt_wave() argument
180 if (!pvoice->private_data) { in snd_gf1_pcm_interrupt_wave()
182 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
185 pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_wave()
188 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
195 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
199 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
205 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
257 struct snd_gus_voice * pvoice) in snd_gf1_pcm_interrupt_volume() argument
261 struct gus_pcm_private *pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_volume()
265 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_volume()
274 cvoice = pcmp->pvoices[0] == pvoice ? 0 : 1; in snd_gf1_pcm_interrupt_volume()
279 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_volume()
773 struct snd_gus_voice *pvoice; in snd_gf1_pcm_volume_put() local
788 pvoice = &gus->gf1.voices[idx]; in snd_gf1_pcm_volume_put()
789 if (!pvoice->pcm) in snd_gf1_pcm_volume_put()
791 pcmp = pvoice->private_data; in snd_gf1_pcm_volume_put()
796 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_volume_put()
798 …vol = pvoice == pcmp->pvoices[0] ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_righ… in snd_gf1_pcm_volume_put()