Searched refs:bytesActuallyRead (Results 1 – 1 of 1) sorted by relevance
405 ssize_t bytesActuallyRead = 0; in read() local416 … bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking); in read()417 if (bytesActuallyRead <= 0) { in read()420 totalBytesRead += bytesActuallyRead; in read()421 int32_t framesToConvert = bytesActuallyRead / bytesPerDeviceFrame; in read()432 bytesActuallyRead = mAudioRecord->read(buffer, numBytes, blocking); in read()433 totalBytesRead = bytesActuallyRead; in read()435 if (bytesActuallyRead == WOULD_BLOCK) { in read()437 } else if (bytesActuallyRead < 0) { in read()440 if (bytesActuallyRead == DEAD_OBJECT) { in read()[all …]