Lines Matching refs:wVSRControl
55 if (GUSvoice(wVSRControl) & 0x200) in gus_mixvoices()
56 GUSvoice(wVSRControl) |= 0x100; /* voice stop request */ in gus_mixvoices()
59 …if (!(GUSvoice(wVSRControl) & GUSvoice(wVSRVolRampControl) & 0x100)) /* neither voice nor volume c… in gus_mixvoices()
77 if (GUSvoice(wVSRControl) & 0x4000) in gus_mixvoices()
85 if (GUSvoice(wVSRControl) & 0x400) /* 16bit */ in gus_mixvoices()
142 if (!(GUSvoice(wVSRControl) & 0x100)) in gus_mixvoices()
145 …if ((GUSvoice(wVSRControl) & 0x4000) ? (CurrPos <= LoopStart) : (CurrPos >= LoopEnd)) /* playback … in gus_mixvoices()
147 if (GUSvoice(wVSRControl) & 0x2000) in gus_mixvoices()
148 … GUSvoice(wVSRControl) |= 0x8000; /* voice IRQ enabled -> IRQ wait flag */ in gus_mixvoices()
149 if (GUSvoice(wVSRControl) & 0x800) /* loop enabled */ in gus_mixvoices()
151 if (GUSvoice(wVSRControl) & 0x1000) /* pingpong loop */ in gus_mixvoices()
153 GUSvoice(wVSRControl) ^= 0x4000; /* toggle dir */ in gus_mixvoices()
157 … CurrPos = (GUSvoice(wVSRControl) & 0x4000) ? LoopEnd : LoopStart; /* unidir. loop */ in gus_mixvoices()
160 … GUSvoice(wVSRControl) |= 0x100; /* loop disabled, rollover check */ in gus_mixvoices()
163 … if ((GUSvoice(wVSRControl) & 0xa000) == 0xa000) /* wavetable IRQ set and enabled? */ in gus_mixvoices()
170 GUSvoice(wVSRControl) &= 0x7f00; in gus_mixvoices()