Home
last modified time | relevance | path

Searched refs:numBursts (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp83 int32_t numBursts; in calculateBufferCapacity() local
87 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()
/frameworks/av/media/libaaudio/tests/
Dtest_clock_model.cpp77 const int64_t numBursts = currentTimeFrames / HW_FRAMES_PER_BURST; in checkDriftingClock() local
78 const int64_t alignedPosition = startPositionFrames + (numBursts * HW_FRAMES_PER_BURST); in checkDriftingClock()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h203 void setNumberOfBursts(int32_t numBursts) { in setNumberOfBursts() argument
204 mNumberOfBursts = numBursts; in setNumberOfBursts()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp710 int32_t numBursts = (adjustedFrames + mFramesPerBurst - 1) / mFramesPerBurst; in setBufferSize() local
711 adjustedFrames = numBursts * mFramesPerBurst; in setBufferSize()