Searched refs:capacityInFrames (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 41 FifoBufferAllocated::FifoBufferAllocated(int32_t bytesPerFrame, fifo_frames_t capacityInFrames) in FifoBufferAllocated() argument 44 mFifo = std::make_unique<FifoController>(capacityInFrames, capacityInFrames); in FifoBufferAllocated() 46 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBufferAllocated() 49 __func__, capacityInFrames, bytesPerFrame); in FifoBufferAllocated() 53 fifo_frames_t capacityInFrames, in FifoBufferIndirect() argument 61 mFifo = std::make_unique<FifoControllerIndirect>(capacityInFrames, in FifoBufferIndirect() 62 capacityInFrames, in FifoBufferIndirect()
|
D | FifoBuffer.h | 134 FifoBufferAllocated(int32_t bytesPerFrame, fifo_frames_t capacityInFrames); 151 fifo_frames_t capacityInFrames,
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 49 if (descriptor->capacityInFrames < 1 in AudioEndpoint_validateQueueDescriptor() 50 || descriptor->capacityInFrames > RIDICULOUSLY_LARGE_BUFFER_CAPACITY) { in AudioEndpoint_validateQueueDescriptor() 52 descriptor->capacityInFrames); in AudioEndpoint_validateQueueDescriptor() 142 descriptor->capacityInFrames, in configure() 170 size_t bufferSizeBytes = descriptor->capacityInFrames * descriptor->bytesPerFrame; in configure() 175 descriptor->capacityInFrames, in configure() 180 uint32_t threshold = descriptor->capacityInFrames / 2; in configure()
|
D | AudioStreamInternal.cpp | 235 mBufferCapacityInFrames = mEndpointDescriptor.dataQueueDescriptor.capacityInFrames; in open()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.cpp | 38 mCapacityInFrames(parcelable.capacityInFrames), in RingBufferParcelable() 50 result.capacityInFrames = mCapacityInFrames; in parcelable() 96 void RingBufferParcelable::setCapacityInFrames(int32_t capacityInFrames) { in setCapacityInFrames() argument 97 mCapacityInFrames = capacityInFrames; in setCapacityInFrames() 122 descriptor->capacityInFrames = mCapacityInFrames; in resolve()
|
D | AAudioServiceDefinitions.h | 75 int32_t capacityInFrames; // zero if unused member
|
D | RingBufferParcelable.h | 59 void setCapacityInFrames(int32_t capacityInFrames);
|
/frameworks/av/services/oboeservice/ |
D | SharedRingBuffer.cpp | 43 fifo_frames_t capacityInFrames) { in allocate() argument 44 mCapacityInFrames = capacityInFrames; in allocate() 47 mDataMemorySizeInBytes = bytesPerFrame * capacityInFrames; in allocate() 83 mFifoBuffer = std::make_shared<FifoBufferIndirect>(bytesPerFrame, capacityInFrames, in allocate()
|
D | AAudioServiceStreamShared.cpp | 111 int32_t capacityInFrames = numBursts * framesPerBurst; in calculateBufferCapacity() local 114 if (capacityInFrames > MAX_FRAMES_PER_BUFFER) { in calculateBufferCapacity() 116 capacityInFrames, MAX_FRAMES_PER_BUFFER); in calculateBufferCapacity() 120 requestedCapacityFrames, capacityInFrames); in calculateBufferCapacity() 121 return capacityInFrames; in calculateBufferCapacity()
|
D | SharedRingBuffer.h | 46 …o_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
|
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/ |
D | RingBuffer.aidl | 27 int capacityInFrames; // zero if unused
|