Home
last modified time | relevance | path

Searched refs:capacityInFrames (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp41 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()
DFifoBuffer.h134 FifoBufferAllocated(int32_t bytesPerFrame, fifo_frames_t capacityInFrames);
151 fifo_frames_t capacityInFrames,
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp49 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()
DAudioStreamInternal.cpp235 mBufferCapacityInFrames = mEndpointDescriptor.dataQueueDescriptor.capacityInFrames; in open()
/frameworks/av/media/libaaudio/src/binding/
DRingBufferParcelable.cpp38 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()
DAAudioServiceDefinitions.h75 int32_t capacityInFrames; // zero if unused member
DRingBufferParcelable.h59 void setCapacityInFrames(int32_t capacityInFrames);
/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp43 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()
DAAudioServiceStreamShared.cpp111 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()
DSharedRingBuffer.h46 …o_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/
DRingBuffer.aidl27 int capacityInFrames; // zero if unused