Searched refs:adjustedFrames (Results 1 – 1 of 1) sorted by relevance
676 int32_t adjustedFrames = requestedFrames; in setBufferSize() local681 if (adjustedFrames < 1) { in setBufferSize()682 adjustedFrames = 1; in setBufferSize()685 if (adjustedFrames > maximumSize) { in setBufferSize()687 adjustedFrames = maximumSize; in setBufferSize()690 int32_t numBursts = (adjustedFrames + mFramesPerBurst - 1) / mFramesPerBurst; in setBufferSize()691 adjustedFrames = numBursts * mFramesPerBurst; in setBufferSize()693 if (adjustedFrames > maximumSize) { in setBufferSize()694 adjustedFrames = maximumSize; in setBufferSize()698 aaudio_result_t result = mAudioEndpoint.setBufferSizeInFrames(adjustedFrames, &actualFrames); in setBufferSize()