Lines Matching defs:pBuff
226 android::AudioRecord::Buffer* pBuff = (android::AudioRecord::Buffer*)info;
239 if (ar->mBufferQueue.mSizeConsumed + pBuff->size < oldFront->mSize) {
241 ar->mBufferQueue.mSizeConsumed += pBuff->size;
242 // leave pBuff->size untouched
245 memcpy (pDest, pBuff->i16, pBuff->size);
247 if (NULL != gMonitorFp) { fwrite(pBuff->i16, pBuff->size, 1, gMonitorFp); }
251 pBuff->size = oldFront->mSize - ar->mBufferQueue.mSizeConsumed;
262 memcpy (pDest, pBuff->i16, pBuff->size);
264 if (NULL != gMonitorFp) { fwrite(pBuff->i16, pBuff->size, 1, gMonitorFp); }
274 pBuff->size = 0;