Lines Matching refs:userSize
715 ssize_t AudioRecord::read(void* buffer, size_t userSize)
721 if (ssize_t(userSize) < 0 || (buffer == NULL && userSize != 0)) {
724 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize);
731 while (userSize >= mFrameSize) {
732 audioBuffer.frameCount = userSize / mFrameSize;
745 userSize -= bytesRead;