Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp424 ssize_t bytesActuallyRead = 0; in read() local
435bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking); in read()
436 if (bytesActuallyRead <= 0) { in read()
439 totalBytesRead += bytesActuallyRead; in read()
440 int32_t framesToConvert = bytesActuallyRead / bytesPerDeviceFrame; in read()
451 bytesActuallyRead = mAudioRecord->read(buffer, numBytes, blocking); in read()
452 totalBytesRead = bytesActuallyRead; in read()
454 if (bytesActuallyRead == WOULD_BLOCK) { in read()
456 } else if (bytesActuallyRead < 0) { in read()
459 if (bytesActuallyRead == DEAD_OBJECT) { in read()
[all …]