Home
last modified time | relevance | path

Searched refs:requestedCapacityFrames (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp73 int32_t AAudioServiceStreamShared::calculateBufferCapacity(int32_t requestedCapacityFrames, in calculateBufferCapacity() argument
76 if (requestedCapacityFrames > MAX_FRAMES_PER_BUFFER) { in calculateBufferCapacity()
78 requestedCapacityFrames, MAX_FRAMES_PER_BUFFER); in calculateBufferCapacity()
84 if (requestedCapacityFrames == AAUDIO_UNSPECIFIED) { in calculateBufferCapacity()
93 numBursts = (requestedCapacityFrames + framesPerBurst - 1) / framesPerBurst; in calculateBufferCapacity()
115 requestedCapacityFrames, capacityInFrames); in calculateBufferCapacity()
DAAudioServiceStreamShared.h105 static int32_t calculateBufferCapacity(int32_t requestedCapacityFrames,