Home
last modified time | relevance | path

Searched refs:CurrPos (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/audio/
H A Dgusemu_mixer.c65 …unsigned int CurrPos = (GUSvoice(wVSRCurrPosHi) << 16) | GUSvoice(wVSRCurrPosLo); /* 23.9… in gus_mixvoices() local
87 int offset = ((CurrPos >> 9) & 0xc0000) + (((CurrPos >> 9) & 0x1ffff) << 1); in gus_mixvoices()
95 int offset = (CurrPos >> 9) & 0xfffff; in gus_mixvoices()
103 sample1 = (((sample1 * Volume) >> 16) * (512 - (CurrPos % 512))) / 512; in gus_mixvoices()
104 sample2 = (((sample2 * Volume) >> 16) * (CurrPos % 512)) / 512; in gus_mixvoices()
144 CurrPos += VoiceIncrement; in gus_mixvoices()
145 …if ((GUSvoice(wVSRControl) & 0x4000) ? (CurrPos <= LoopStart) : (CurrPos >= LoopEnd)) /* playback … in gus_mixvoices()
157CurrPos = (GUSvoice(wVSRControl) & 0x4000) ? LoopEnd : LoopStart; /* unidir. loop */ in gus_mixvoices()
179 GUSvoice(wVSRCurrPosHi) = CurrPos >> 16; in gus_mixvoices()
180 GUSvoice(wVSRCurrPosLo) = CurrPos & 0xffff; in gus_mixvoices()