Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp101 SLuint32 framesToErase = pSles->numFramesToIgnore; in recorderCallback() local
102 if (framesToErase > pSles->bufSizeInFrames) { in recorderCallback()
103 framesToErase = pSles->bufSizeInFrames; in recorderCallback()
105 pSles->numFramesToIgnore -= framesToErase; in recorderCallback()
107 memset(buffer, 0, framesToErase * pSles->channels * sizeof(short)); in recorderCallback()