Searched refs:numBursts (Results 1 – 3 of 3) sorted by relevance
83 int32_t numBursts; in calculateBufferCapacity() local87 numBursts = MAX_FRAMES_PER_BUFFER / framesPerBurst; in calculateBufferCapacity()89 numBursts = DEFAULT_BURSTS_PER_BUFFER; in calculateBufferCapacity()93 numBursts = (requestedCapacityFrames + framesPerBurst - 1) / framesPerBurst; in calculateBufferCapacity()97 if (numBursts < MIN_BURSTS_PER_BUFFER) { in calculateBufferCapacity()98 numBursts = MIN_BURSTS_PER_BUFFER; in calculateBufferCapacity()101 if (numBursts > 0x8000 || framesPerBurst > 0x8000) { in calculateBufferCapacity()103 numBursts, framesPerBurst); in calculateBufferCapacity()106 int32_t capacityInFrames = numBursts * framesPerBurst; in calculateBufferCapacity()
184 void setNumberOfBursts(int32_t numBursts) { in setNumberOfBursts() argument185 mNumberOfBursts = numBursts; in setNumberOfBursts()
690 int32_t numBursts = (adjustedFrames + mFramesPerBurst - 1) / mFramesPerBurst; in setBufferSize() local691 adjustedFrames = numBursts * mFramesPerBurst; in setBufferSize()