Searched refs:csAvail (Results 1 - 4 of 4) sorted by relevance
/vbox/src/VBox/Devices/Audio/ |
H A D | filteraudio.c | 324 uint32_t csAvail = 0; local 347 csAvail = IORingBufferFree(pVoice->pBuf) >> pVoice->phw->info.shift; /* bytes -> samples */ 350 csAvail = RT_MIN(csAvail, (uint32_t)audio_pcm_hw_get_live_out(pVoice->phw)); 352 CA_EXT_DEBUG_LOG(("FilterAudio: [Output] Start writing buffer with %RU32 samples (%RU32 bytes)\n", csAvail, csAvail << pVoice->phw->info.shift)); 355 while (csWritten < csAvail) 358 csToWrite = RT_MIN(csAvail - csWritten, (uint32_t)(pVoice->phw->samples - pVoice->phw->rpos)); 525 uint32_t csAvail = 0; local 543 csAvail 585 uint32_t csAvail = 0; local [all...] |
H A D | coreaudio.c | 611 uint32_t csAvail = 0; local 623 csAvail = IORingBufferUsed(caVoice->pBuf) >> caVoice->hw.info.shift; /* bytes -> samples */ 626 csAvail = RT_MIN(csAvail, ioData->mBuffers[0].mDataByteSize >> caVoice->hw.info.shift); 628 CA_EXT_DEBUG_LOG(("CoreAudio: [Output] Start reading buffer with %RU32 samples (%RU32 bytes)\n", csAvail, csAvail << caVoice->hw.info.shift)); 631 while(csReads < csAvail) 634 csToRead = csAvail - csReads; 962 uint32_t csAvail = 0; local 984 csAvail 1325 uint32_t csAvail = 0; local 1894 uint32_t csAvail = 0; local [all...] |
H A D | solaudio.c | 409 int csLive, csDecr, csSamples, csToWrite, csAvail; local 423 csAvail = cbAvail >> hw->info.shift; /* bytes => samples */ 424 csDecr = audio_MIN(csLive, csAvail); 701 int csDead, csDecr = 0, csSamples, csRead, csAvail; 726 csAvail = cbAvail >> hw->info.shift; 727 csDecr = audio_MIN (csDead, csAvail);
|
/vbox/src/VBox/Main/src-client/ |
H A D | DrvAudioVideoRec.cpp | 340 size_t csAvail = RTCircBufFree(pVRDEVoice->pRecordedVoiceBuf) / sizeof(PDMAUDIOSAMPLE); /* bytes -> samples */ 343 csAvail = RT_MIN(csAvail, cbSamples / sizeof(PDMAUDIOSAMPLE)); 346 while (csWritten < csAvail) 349 size_t csToWrite = csAvail - csWritten;
|
Completed in 519 milliseconds