Lines Matching refs:offWrite
801 uint32_t offWrite = (pDst->offReadWrite + cLive) % pDst->cSamples;
803 AUDMIXBUF_LOG(("pSrc=%s (%RU32 samples), pDst=%s (%RU32 samples), cLive=%RU32, cDead=%RU32, cToReadTotal=%RU32, offWrite=%RU32\n",
804 pSrc->pszName, pSrc->cSamples, pDst->pszName, pDst->cSamples, cLive, cDead, cToReadTotal, offWrite));
814 cToWrite = RT_MIN(cDead, pDst->cSamples - offWrite);
821 Assert(offWrite + cToWrite <= pDst->cSamples);
825 AUDMIXBUF_LOG(("\tcDead=%RU32, offWrite=%RU32, cToWrite=%RU32, offRead=%RU32, cToRead=%RU32\n",
826 cDead, offWrite, cToWrite, offRead, cToRead));
828 audioMixBufOpBlend(pDst->pSamples + offWrite, cToWrite,
841 offWrite = (offWrite + cWritten) % pDst->cSamples;
1075 AUDMIXBUF_LOG(("P2: cToRead=%RU32, offWrite=%RU32 (%zu bytes)\n", cLenSrc2, cLenSrc1,
1334 uint32_t offWrite = pMixBuf->offReadWrite + cToWrite;
1341 if (offWrite >= pMixBuf->cSamples)
1351 offWrite = cLenDst2;
1384 AUDMIXBUF_LOG(("cLenDst1=%RU32, cLenDst2=%RU32, offWrite=%RU32\n",
1385 cLenDst1, cLenDst2, offWrite));
1389 pMixBuf->offReadWrite = offWrite % pMixBuf->cSamples;