Lines Matching refs:pInBuffer
1605 Buffer *pInBuffer; in write() local
1620 pInBuffer = mBufferQueue.itemAt(0); in write()
1622 pInBuffer = &inBuffer; in write()
1625 if (pInBuffer->frameCount == 0) { in write()
1630 mOutBuffer.frameCount = pInBuffer->frameCount; in write()
1652 uint32_t outFrames = pInBuffer->frameCount > mOutBuffer.frameCount ? mOutBuffer.frameCount : in write()
1653 pInBuffer->frameCount; in write()
1654 memcpy(mOutBuffer.raw, pInBuffer->raw, outFrames * mFrameSize); in write()
1660 pInBuffer->frameCount -= outFrames; in write()
1661 pInBuffer->raw = (int8_t *)pInBuffer->raw + outFrames * mFrameSize; in write()
1665 if (pInBuffer->frameCount == 0) { in write()
1668 free(pInBuffer->mBuffer); in write()
1669 if (pInBuffer != &inBuffer) { in write()
1670 delete pInBuffer; in write()
1686 pInBuffer = new Buffer; in write()
1687 pInBuffer->mBuffer = malloc(inBuffer.frameCount * mFrameSize); in write()
1688 pInBuffer->frameCount = inBuffer.frameCount; in write()
1689 pInBuffer->raw = pInBuffer->mBuffer; in write()
1690 memcpy(pInBuffer->raw, inBuffer.raw, inBuffer.frameCount * mFrameSize); in write()
1691 mBufferQueue.add(pInBuffer); in write()