Searched refs:bytesActuallyRead (Results 1 – 1 of 1) sorted by relevance
456 ssize_t bytesActuallyRead = 0; in read() local467 … bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking); in read()468 if (bytesActuallyRead <= 0) { in read()471 totalBytesRead += bytesActuallyRead; in read()472 int32_t framesToConvert = bytesActuallyRead / bytesPerDeviceFrame; in read()483 bytesActuallyRead = mAudioRecord->read(buffer, numBytes, blocking); in read()484 totalBytesRead = bytesActuallyRead; in read()486 if (bytesActuallyRead == WOULD_BLOCK) { in read()488 } else if (bytesActuallyRead < 0) { in read()491 if (bytesActuallyRead == DEAD_OBJECT) { in read()[all …]