Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp78 int32_t AAudioServiceStreamShared::calculateBufferCapacity(int32_t requestedCapacityFrames, in calculateBufferCapacity() argument
81 if (requestedCapacityFrames > MAX_FRAMES_PER_BUFFER) { in calculateBufferCapacity()
83 requestedCapacityFrames, MAX_FRAMES_PER_BUFFER); in calculateBufferCapacity()
89 if (requestedCapacityFrames == AAUDIO_UNSPECIFIED) { in calculateBufferCapacity()
98 numBursts = (requestedCapacityFrames + framesPerBurst - 1) / framesPerBurst; in calculateBufferCapacity()
120 requestedCapacityFrames, capacityInFrames); in calculateBufferCapacity()
DAAudioServiceStreamShared.h106 static int32_t calculateBufferCapacity(int32_t requestedCapacityFrames,