Searched refs:requestedCapacityFrames (Results 1 – 2 of 2) sorted by relevance
78 int32_t AAudioServiceStreamShared::calculateBufferCapacity(int32_t requestedCapacityFrames, in calculateBufferCapacity() argument81 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()
106 static int32_t calculateBufferCapacity(int32_t requestedCapacityFrames,