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