Searched refs:patchBuffer (Results 1 – 2 of 2) sorted by relevance
159 AudioBufferProvider::Buffer patchBuffer; in onWork() local162 patchBuffer.frameCount = ~0; in onWork()163 const status_t status = fastPatchRecordBufferProvider->getNextBuffer(&patchBuffer); in onWork()166 } else if (patchBuffer.frameCount < frameCount) { in onWork()169 frameCount = patchBuffer.frameCount; in onWork()186 patchBuffer.frameCount = framesRead; in onWork()211 memcpy_by_audio_format(patchBuffer.raw, current->mFastPatchRecordFormat, in onWork()213 patchBuffer.frameCount = framesWritten; in onWork()214 fastPatchRecordBufferProvider->releaseBuffer(&patchBuffer); in onWork()
3191 AudioBufferProvider::Buffer patchBuffer; in writeFramesHelper() local3192 patchBuffer.frameCount = frameCount; in writeFramesHelper()3193 auto status = dest->getNextBuffer(&patchBuffer); in writeFramesHelper()3199 ALOG_ASSERT(patchBuffer.frameCount <= frameCount); in writeFramesHelper()3200 memcpy(patchBuffer.raw, src, patchBuffer.frameCount * frameSize); in writeFramesHelper()3201 size_t framesWritten = patchBuffer.frameCount; in writeFramesHelper()3202 dest->releaseBuffer(&patchBuffer); in writeFramesHelper()