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