Searched refs:cSamplesToRead (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Main/src-client/
H A DDrvAudioVideoRec.cpp431 size_t cSamplesToRead = RT_MIN(cSamplesRingBuffer - cSamplesRead, local
433 size_t cbToRead = cSamplesToRead * sizeof(PDMAUDIOSAMPLE);
434 LogFlowFunc(("Try reading %zu samples (%zu bytes)\n", cSamplesToRead, cbToRead));
446 cSamplesToRead = cbToRead / sizeof(PDMAUDIOSAMPLE);
447 LogFlowFunc(("AuderVRDE: There are %d samples (%d bytes) available\n", cSamplesToRead, cbToRead));
450 if (cSamplesToRead)
460 if (!cSamplesToRead)
463 pVRDEVoice->pHostVoiceIn.offSamplesWritten = (pVRDEVoice->pHostVoiceIn.offSamplesWritten + cSamplesToRead)
467 cSamplesRead += cSamplesToRead;
/vbox/src/VBox/Devices/Audio/
H A DAudioMixBuffer.h51 int audioMixBufAcquire(PPDMAUDIOMIXBUF pMixBuf, uint32_t cSamplesToRead, PPDMAUDIOSAMPLE *ppvSamples, uint32_t *pcSamplesRead);
H A DAudioMixBuffer.cpp99 int audioMixBufAcquire(PPDMAUDIOMIXBUF pMixBuf, uint32_t cSamplesToRead, argument
108 if (!cSamplesToRead)
115 if (pMixBuf->offReadWrite + cSamplesToRead > pMixBuf->cSamples)
122 cSamplesRead = cSamplesToRead;

Completed in 97 milliseconds