Lines Matching refs:cbToRead
1328 size_t cbToRead;
1333 RTCircBufAcquireReadBlock(pStreamIn->pBuf, cbToWrite, (void **)&puBuf, &cbToRead);
1334 if (!cbToRead)
1336 RTCircBufReleaseReadBlock(pStreamIn->pBuf, cbToRead);
1340 rc = audioMixBufWriteCirc(&pHstStrmIn->MixBuf, puBuf, cbToRead, &cWritten);
1420 size_t cbToRead;
1424 RTCircBufAcquireReadBlock(pStreamOut->pBuf, cbDataAvail, (void **)&pbSrc, &cbToRead);
1427 if (!cbToRead)
1431 memcpy((uint8_t *)pBufData->mBuffers[0].mData + cbRead, pbSrc, cbToRead);
1434 RTCircBufReleaseReadBlock(pStreamOut->pBuf, cbToRead);
1437 cbRead += cbToRead;
1440 Assert(cbToRead <= cbDataAvail);
1441 cbDataAvail -= cbToRead;
1480 size_t cbToRead = RT_MIN(cbBuf, RTCircBufFree(pStreamOut->pBuf));
1481 LogFlowFunc(("cbToRead=%zu\n", cbToRead));
1487 while (cbToRead)
1490 pStreamOut->pvPCMBuf, cbToRead, &cRead);
1513 Assert(cbToRead >= cRead);
1514 cbToRead -= cbRead;