Searched refs:framesToErase (Results 1 – 1 of 1) sorted by relevance
112 int framesToErase = pSles->ignoreFirstFrames; in recorderCallback() local113 if (framesToErase > (int) pSles->bufSizeInFrames) { in recorderCallback()114 framesToErase = pSles->bufSizeInFrames; in recorderCallback()116 pSles->ignoreFirstFrames -= framesToErase; in recorderCallback()117 memset(buffer, 0, framesToErase * pSles->channels * sizeof(short)); in recorderCallback()