Searched refs:patchBuffer (Results 1 – 2 of 2) sorted by relevance
167 AudioBufferProvider::Buffer patchBuffer; in onWork() local170 patchBuffer.frameCount = ~0; in onWork()171 status_t status = fastPatchRecordBufferProvider->getNextBuffer(&patchBuffer); in onWork()174 } else if (patchBuffer.frameCount < frameCount) { in onWork()177 frameCount = patchBuffer.frameCount; in onWork()194 patchBuffer.frameCount = framesRead; in onWork()216 memcpy_by_audio_format(patchBuffer.raw, current->mFastPatchRecordFormat, in onWork()218 patchBuffer.frameCount = framesWritten; in onWork()219 fastPatchRecordBufferProvider->releaseBuffer(&patchBuffer); in onWork()
2419 AudioBufferProvider::Buffer patchBuffer; in writeFramesHelper() local2420 patchBuffer.frameCount = frameCount; in writeFramesHelper()2421 auto status = dest->getNextBuffer(&patchBuffer); in writeFramesHelper()2427 ALOG_ASSERT(patchBuffer.frameCount <= frameCount); in writeFramesHelper()2428 memcpy(patchBuffer.raw, src, patchBuffer.frameCount * frameSize); in writeFramesHelper()2429 size_t framesWritten = patchBuffer.frameCount; in writeFramesHelper()2430 dest->releaseBuffer(&patchBuffer); in writeFramesHelper()