Searched refs:numBursts (Results 1 – 4 of 4) sorted by relevance
88 int32_t numBursts; in calculateBufferCapacity() local92 numBursts = MAX_FRAMES_PER_BUFFER / framesPerBurst; in calculateBufferCapacity()94 numBursts = DEFAULT_BURSTS_PER_BUFFER; in calculateBufferCapacity()98 numBursts = (requestedCapacityFrames + framesPerBurst - 1) / framesPerBurst; in calculateBufferCapacity()102 if (numBursts < MIN_BURSTS_PER_BUFFER) { in calculateBufferCapacity()103 numBursts = MIN_BURSTS_PER_BUFFER; in calculateBufferCapacity()106 if (numBursts > 0x8000 || framesPerBurst > 0x8000) { in calculateBufferCapacity()108 numBursts, framesPerBurst); in calculateBufferCapacity()111 int32_t capacityInFrames = numBursts * framesPerBurst; in calculateBufferCapacity()
927 int32_t numBursts = (static_cast<int64_t>(adjustedFrames) + getFramesPerBurst() - 1) / in setBufferSize() local931 if (numBursts == 0) { in setBufferSize()932 numBursts = 1; in setBufferSize()937 (numBursts < MIN_SAMPLE_RATE_CONVERSION_NUM_BURSTS)) { in setBufferSize()938 numBursts = MIN_SAMPLE_RATE_CONVERSION_NUM_BURSTS; in setBufferSize()949 numBursts = std::min(numBursts, actualNumBursts); in setBufferSize()952 const int32_t bufferSizeInFrames = numBursts * getFramesPerBurst(); in setBufferSize()953 const int32_t deviceBufferSizeInFrames = numBursts * getDeviceFramesPerBurst(); in setBufferSize()
88 const int64_t numBursts = currentTimeFrames / HW_FRAMES_PER_BURST; in checkDriftingClock() local90 + (numBursts * HW_FRAMES_PER_BURST); in checkDriftingClock()
216 void setNumberOfBursts(int32_t numBursts) { in setNumberOfBursts() argument217 mNumberOfBursts = numBursts; in setNumberOfBursts()