Searched refs:numBursts (Results 1 – 4 of 4) 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()
77 const int64_t numBursts = currentTimeFrames / HW_FRAMES_PER_BURST; in checkDriftingClock() local78 const int64_t alignedPosition = startPositionFrames + (numBursts * HW_FRAMES_PER_BURST); in checkDriftingClock()
203 void setNumberOfBursts(int32_t numBursts) { in setNumberOfBursts() argument204 mNumberOfBursts = numBursts; in setNumberOfBursts()
710 int32_t numBursts = (adjustedFrames + mFramesPerBurst - 1) / mFramesPerBurst; in setBufferSize() local711 adjustedFrames = numBursts * mFramesPerBurst; in setBufferSize()