Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:pInBuffer

1553     Buffer *pInBuffer;
1570 pInBuffer = new Buffer;
1571 pInBuffer->mBuffer = new int16_t[startFrames * channelCount];
1572 pInBuffer->frameCount = startFrames;
1573 pInBuffer->i16 = pInBuffer->mBuffer;
1574 memset(pInBuffer->raw, 0, startFrames * channelCount * sizeof(int16_t));
1575 mBufferQueue.add(pInBuffer);
1586 pInBuffer = mBufferQueue.itemAt(0);
1588 pInBuffer = &inBuffer;
1591 if (pInBuffer->frameCount == 0) {
1596 mOutBuffer.frameCount = pInBuffer->frameCount;
1613 uint32_t outFrames = pInBuffer->frameCount > mOutBuffer.frameCount ? mOutBuffer.frameCount :
1614 pInBuffer->frameCount;
1615 memcpy(mOutBuffer.raw, pInBuffer->raw, outFrames * channelCount * sizeof(int16_t));
1620 pInBuffer->frameCount -= outFrames;
1621 pInBuffer->i16 += outFrames * channelCount;
1625 if (pInBuffer->frameCount == 0) {
1628 delete [] pInBuffer->mBuffer;
1629 delete pInBuffer;
1643 pInBuffer = new Buffer;
1644 pInBuffer->mBuffer = new int16_t[inBuffer.frameCount * channelCount];
1645 pInBuffer->frameCount = inBuffer.frameCount;
1646 pInBuffer->i16 = pInBuffer->mBuffer;
1647 memcpy(pInBuffer->raw, inBuffer.raw, inBuffer.frameCount * channelCount *
1649 mBufferQueue.add(pInBuffer);
1667 pInBuffer = new Buffer;
1668 pInBuffer->mBuffer = new int16_t[frames * channelCount];
1669 pInBuffer->frameCount = frames;
1670 pInBuffer->i16 = pInBuffer->mBuffer;
1671 memset(pInBuffer->raw, 0, frames * channelCount * sizeof(int16_t));
1672 mBufferQueue.add(pInBuffer);