Searched refs:bytesActuallyRead (Results 1 – 1 of 1) sorted by relevance
407 ssize_t bytesActuallyRead = 0; in read() local418 … bytesActuallyRead = 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 …]