Searched refs:wpos (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Devices/Audio/
H A Dsolaudio.c733 psDst = hw->conv_buf + hw->wpos;
734 csRead = audio_MIN (csSamples, hw->samples - hw->wpos);
736 hw->wpos = (hw->wpos + csRead) % hw->samples;
754 bufs[0].add = hw->wpos;
763 if (hw->wpos + dead > hw->samples)
765 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
766 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
794 hw->wpos = (hw->wpos
[all...]
H A Ddsoundaudio.c847 ds->hw.wpos = 0;
1007 DWORD wpos, ppos, old_pos; local
1024 &wpos
1029 hr = IDirectSoundBuffer_GetCurrentPosition(dsb, &ppos, &wpos);
1046 cur_blat = audio_ring_dist (wpos, ppos, bufsize);
1047 old_pos = wpos;
1048 if (conf_blat > cur_blat) /* Do not write before wpos. */
1054 old_pos = wpos;
1222 ltmp = audio_MIN(len1, hw->samples - hw->wpos);
1223 hw->conv (hw->conv_buf + hw->wpos, p
[all...]
H A Dnoaudio.c128 hw->wpos = (hw->wpos + samples) % hw->samples;
H A Dpulseaudio.c647 if (hw->wpos + cFramesToPeek > hw->samples)
649 int cFramesDelta = hw->samples - hw->wpos;
651 hw->conv(hw->conv_buf + hw->wpos,
663 hw->conv(hw->conv_buf + hw->wpos,
670 hw->wpos = (hw->wpos + cFramesToPeek) % hw->samples;
H A Dwinaudio.c431 { hw->wpos },
441 if (hw->wpos + dead > hw->samples) {
442 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
443 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
482 hw->wpos = (hw->wpos + read_samples) % hw->samples;
H A Dfilteraudio.c630 csToRead = RT_MIN(csAvail - csReads, (uint32_t)(pVoice->phw->samples - pVoice->phw->wpos));
646 psDst = pVoice->phw->conv_buf + pVoice->phw->wpos;
652 pVoice->phw->wpos = (pVoice->phw->wpos + csToRead) % pVoice->phw->samples;
H A Dalsaaudio.c970 bufs[0].add = hw->wpos;
1019 if (hw->wpos + decr > hw->samples) {
1020 bufs[0].len = (hw->samples - hw->wpos);
1021 bufs[1].len = (decr - (hw->samples - hw->wpos));
1084 hw->wpos = (hw->wpos + read_samples) % hw->samples;
H A Dossaudio.c765 bufs[0].add = hw->wpos;
774 if (hw->wpos + dead > hw->samples) {
775 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
776 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
827 hw->wpos = (hw->wpos + read_samples) % hw->samples;
H A Daudio.c908 rpos = hw->wpos - live;
941 isamp = hw->wpos - rpos;
1033 int hwsamples, samples, isamp, osamp, wpos, live, dead, left, swlim, blck; local
1055 wpos = (sw->hw->rpos + live) % hwsamples;
1074 left = hwsamples - wpos;
1087 sw->hw->mix_buf + wpos,
1095 wpos = (wpos + osamp) % hwsamples;
H A Daudio_int.h107 int wpos; member in struct:HWVoiceIn
H A Dcoreaudio.c1922 csToRead = RT_MIN(csAvail - csReads, (uint32_t)(hw->samples - hw->wpos));
1934 psDst = hw->conv_buf + hw->wpos;
1938 hw->wpos = (hw->wpos + csToRead) % hw->samples;
/vbox/src/VBox/Devices/Input/
H A DPS2M.cpp154 uint32_t wpos; \
314 pQ->wpos = pQ->rpos;
334 pQ->abQueue[pQ->wpos] = val;
335 if (++pQ->wpos == pQ->cSize)
336 pQ->wpos = 0; /* Roll over. */
391 pQ->wpos = pQ->cUsed;
H A DPS2K.cpp116 uint32_t wpos; \
477 pQ->wpos = pQ->rpos;
497 pQ->abQueue[pQ->wpos] = val;
498 if (++pQ->wpos == pQ->cSize)
499 pQ->wpos = 0; /* Roll over. */
548 pQ->wpos = pQ->cUsed;
/vbox/src/VBox/Devices/testcase/
H A DtstDeviceStructSizeRC.cpp445 GEN_CHECK_OFF(KbdCmdQ, wpos);

Completed in 369 milliseconds