Searched refs:adjustedFrames (Results 1 – 1 of 1) sorted by relevance
695 int32_t adjustedFrames = requestedFrames; in setBufferSize() local700 if (adjustedFrames < 1) { in setBufferSize()701 adjustedFrames = 1; in setBufferSize()704 if (adjustedFrames > maximumSize) { in setBufferSize()706 adjustedFrames = maximumSize; in setBufferSize()709 int32_t numBursts = (adjustedFrames + mFramesPerBurst - 1) / mFramesPerBurst; in setBufferSize()710 adjustedFrames = numBursts * mFramesPerBurst; in setBufferSize()712 if (adjustedFrames > maximumSize) { in setBufferSize()713 adjustedFrames = maximumSize; in setBufferSize()717 aaudio_result_t result = mAudioEndpoint.setBufferSizeInFrames(adjustedFrames, &actualFrames); in setBufferSize()