Searched refs:maxBytesToRead (Results 1 – 2 of 2) sorted by relevance
465 size_t maxBytesToRead; in read() local467 maxBytesToRead = (mBitsPerSample / 8) * (bufferSize / 4); in read()469 maxBytesToRead = mBitsPerSample == 8 ? bufferSize / 2 : bufferSize; in read()476 if (maxBytesToRead > maxBytesAvailable) { in read()477 maxBytesToRead = maxBytesAvailable; in read()483 if (maxBytesToRead > 1024) { in read()484 maxBytesToRead = 1024; in read()486 maxBytesToRead = (maxBytesToRead / 65) * 65; in read()490 maxBytesToRead -= maxBytesToRead % inputUnitFrameSize; in read()495 maxBytesToRead); in read()
172 size_t maxBytesToRead = bufferRemaining; in fetchBlock() local178 } else if (bytesLeftInRange < (int64_t)maxBytesToRead) { in fetchBlock()179 maxBytesToRead = bytesLeftInRange; in fetchBlock()191 maxBytesToRead); in fetchBlock()