Searched defs:rpos (Results 1 - 9 of 9) sorted by relevance
/vbox/src/VBox/Devices/Audio/ |
H A D | winaudio.c | 80 int err, rpos, live, decr; local 110 rpos = hw->rpos; 114 int left_till_end_samples = hw->samples - rpos; 127 src = advance (hw->mix_buf, rpos * sizeof (st_sample_t)); 146 rpos = (rpos + convert_samples) % hw->samples; 155 hw->rpos = rpos;
|
H A D | alsaaudio.c | 705 int rpos, live, decr; local 724 rpos = hw->rpos; 726 int left_till_end_samples = hw->samples - rpos; 730 src = hw->mix_buf + rpos; 731 dst = advance (alsa->pcm_buf, rpos << hw->info.shift); 783 rpos = (rpos + written) % hw->samples; 792 hw->rpos = rpos; [all...] |
H A D | filteraudio.c | 251 uint32_t rpos; member in struct:filterVoiceIn 358 csToWrite = RT_MIN(csAvail - csWritten, (uint32_t)(pVoice->phw->samples - pVoice->phw->rpos)); 374 psSrc = pVoice->phw->mix_buf + pVoice->phw->rpos; 380 pVoice->phw->rpos = (pVoice->phw->rpos + csToWrite) % pVoice->phw->samples; 813 pVoice->rpos = 0; 842 pVoice->rpos = 0;
|
H A D | ossaudio.c | 345 int err, rpos, live, decr; local 422 rpos = hw->rpos; 424 int left_till_end_samples = hw->samples - rpos; 427 src = hw->mix_buf + rpos; 428 dst = advance (oss->pcm_buf, rpos << hw->info.shift); 462 rpos = (rpos + wsamples) % hw->samples; 471 rpos = (rpos [all...] |
H A D | DrvHostCoreAudio.cpp | 307 uint32_t rpos; member in struct:COREAUDIOSTREAMIN 465 Assert(pBufferList->mBuffers[0].mDataByteSize >= pStreamIn->rpos); 467 pBufferList->mBuffers[0].mDataByteSize - pStreamIn->rpos); 488 pBufData->mBuffers[0].mData = (uint8_t *)pBufferList->mBuffers[0].mData + pStreamIn->rpos; 490 pStreamIn->rpos += cSize; 1758 pStreamIn->rpos = 0; 1869 pStreamIn->rpos = 0;
|
H A D | audio_int.h | 89 int rpos; member in struct:HWVoiceOut
|
H A D | coreaudio.c | 512 uint32_t rpos; member in struct:caVoiceIn 995 csToWrite = RT_MIN(csAvail - csWritten, (uint32_t)(hw->samples - hw->rpos)); 1007 psSrc = hw->mix_buf + hw->rpos; 1011 hw->rpos = (hw->rpos + csToWrite) % hw->samples; 1292 pBufferList->mBuffers[0].mDataByteSize - caVoice->rpos); 1307 ioData->mBuffers[0].mData = (char*)pBufferList->mBuffers[0].mData + caVoice->rpos; 1308 caVoice->rpos += cSize; 1310 /* Log2(("converting .... ################ %RU32 %RU32\n", size, caVoice->rpos));*/ 1374 caVoice->rpos [all...] |
H A D | dsoundaudio.c | 757 DWORD rpos; local 798 hr = IDirectSoundCaptureBuffer_GetCurrentPosition (ds->dsound_capture_buffer, NULL, &rpos); 800 rpos = 0; 848 ds->last_read_pos = rpos >> ds->hw.info.shift; 912 int pos = hw->rpos + dst_len; 913 st_sample_t *src1 = hw->mix_buf + hw->rpos; 917 src_len1 = hw->samples - hw->rpos; 932 hw->rpos = pos % hw->samples; 1158 DWORD rpos; local 1178 &rpos [all...] |
H A D | audio.c | 901 int rpos; local 908 rpos = hw->wpos - live; 909 if (rpos >= 0) { 910 return rpos; 913 return hw->samples + rpos; 920 int samples, live, ret = 0, swlim, isamp, osamp, rpos, total = 0; local 923 rpos = audio_pcm_sw_get_rpos_in (sw) % hw->samples; 940 src = hw->conv_buf + rpos; 941 isamp = hw->wpos - rpos; 944 isamp = hw->samples - rpos; 1299 audio_capture_mix_and_clear(HWVoiceOut *hw, int rpos, int samples) argument 1478 int live, rpos, captured; local [all...] |
Completed in 67 milliseconds