Home
last modified time | relevance | path

Searched refs:framesToErase (Results 1 – 1 of 1) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp131 int framesToErase = pSles->ignoreFirstFrames; in recorderCallback() local
132 if (framesToErase > (int) pSles->bufSizeInFrames) { in recorderCallback()
133 framesToErase = pSles->bufSizeInFrames; in recorderCallback()
135 pSles->ignoreFirstFrames -= framesToErase; in recorderCallback()
136 memset(buffer, 0, framesToErase * pSles->channels * sizeof(short)); in recorderCallback()