Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DAudioSource.cpp384 size_t numLostBytes = 0; in dataCallback() local
388 numLostBytes = mRecord->getInputFramesLost() * mRecord->frameSize(); in dataCallback()
391 CHECK_EQ(numLostBytes & 1, 0u); in dataCallback()
393 if (numLostBytes > 0) { in dataCallback()
396 ALOGW("Lost audio record data: %zu bytes", numLostBytes); in dataCallback()
399 while (numLostBytes > 0) { in dataCallback()
400 size_t bufferSize = numLostBytes; in dataCallback()
401 if (numLostBytes > kMaxBufferSize) { in dataCallback()
402 numLostBytes -= kMaxBufferSize; in dataCallback()
405 numLostBytes = 0; in dataCallback()