Home
last modified time | relevance | path

Searched refs:numBursts (Results 1 – 3 of 3) 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/examples/utils/
DAAudioArgsParser.h184 void setNumberOfBursts(int32_t numBursts) { in setNumberOfBursts() argument
185 mNumberOfBursts = numBursts; in setNumberOfBursts()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp690 int32_t numBursts = (adjustedFrames + mFramesPerBurst - 1) / mFramesPerBurst; in setBufferSize() local
691 adjustedFrames = numBursts * mFramesPerBurst; in setBufferSize()