Searched refs:numLostBytes (Results 1 – 1 of 1) sorted by relevance
388 uint64_t numLostBytes = 0; // AudioRecord::getInputFramesLost() returns uint32_t in dataCallback() local392 numLostBytes = (uint64_t)mRecord->getInputFramesLost() * mRecord->frameSize(); in dataCallback()395 CHECK_EQ(numLostBytes & 1, 0u); in dataCallback()397 if (numLostBytes > 0) { in dataCallback()400 ALOGW("Lost audio record data: %" PRIu64 " bytes", numLostBytes); in dataCallback()403 while (numLostBytes > 0) { in dataCallback()404 uint64_t bufferSize = numLostBytes; in dataCallback()405 if (numLostBytes > kMaxBufferSize) { in dataCallback()406 numLostBytes -= kMaxBufferSize; in dataCallback()409 numLostBytes = 0; in dataCallback()