Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp407 ssize_t bytesActuallyRead = 0; in read() local
418bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking); in read()
419 if (bytesActuallyRead <= 0) { in read()
422 totalBytesRead += bytesActuallyRead; in read()
423 int32_t framesToConvert = bytesActuallyRead / bytesPerDeviceFrame; in read()
434 bytesActuallyRead = mAudioRecord->read(buffer, numBytes, blocking); in read()
435 totalBytesRead = bytesActuallyRead; in read()
437 if (bytesActuallyRead == WOULD_BLOCK) { in read()
439 } else if (bytesActuallyRead < 0) { in read()
442 if (bytesActuallyRead == DEAD_OBJECT) { in read()
[all …]