Searched refs:readSize (Results 1 – 3 of 3) sorted by relevance
80 int readSize = (toRead > mBufferSize) ? mBufferSize : toRead; in doPlaybackOrRecord() local81 if (pcm_read(mPcmHandle, buffer->getUnhanledData(), readSize)) { in doPlaybackOrRecord()85 buffer->increaseHandled(readSize); in doPlaybackOrRecord()86 toRead -= readSize; in doPlaybackOrRecord()
271 int readSize = rowStride; in getDataFromImage() local272 if (buffer.remaining() < readSize) { in getDataFromImage()273 readSize = buffer.remaining(); in getDataFromImage()275 buffer.get(rowData, 0, readSize); in getDataFromImage()
427 int readSize = 0; in testStopMediaProjectionDuringCapture() local431 readSize += status; in testStopMediaProjectionDuringCapture()433 + audioRecord.getRecordingState(), readSize, lessThan(MAX_READ_SIZE)); in testStopMediaProjectionDuringCapture()