Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp34 FifoBuffer::FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames) in FifoBuffer() argument
35 : mFrameCapacity(capacityInFrames) in FifoBuffer()
43 mFifo = new FifoController(capacityInFrames, capacityInFrames); in FifoBuffer()
45 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBuffer()
49 capacityInFrames, bytesPerFrame); in FifoBuffer()
53 fifo_frames_t capacityInFrames, in FifoBuffer() argument
58 : mFrameCapacity(capacityInFrames) in FifoBuffer()
65 mFifo = new FifoControllerIndirect(capacityInFrames, in FifoBuffer()
66 capacityInFrames, in FifoBuffer()
DFifoBuffer.h40 FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames);
43 fifo_frames_t capacityInFrames,
/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp41 fifo_frames_t capacityInFrames) { in allocate() argument
42 mCapacityInFrames = capacityInFrames; in allocate()
45 mDataMemorySizeInBytes = bytesPerFrame * capacityInFrames; in allocate()
79 mFifoBuffer = new FifoBuffer(bytesPerFrame, capacityInFrames, in allocate()
DAAudioServiceStreamShared.cpp106 int32_t capacityInFrames = numBursts * framesPerBurst; in calculateBufferCapacity() local
109 if (capacityInFrames > MAX_FRAMES_PER_BUFFER) { in calculateBufferCapacity()
111 capacityInFrames, MAX_FRAMES_PER_BUFFER); in calculateBufferCapacity()
115 requestedCapacityFrames, capacityInFrames); in calculateBufferCapacity()
116 return capacityInFrames; in calculateBufferCapacity()
DSharedRingBuffer.h45 …o_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp56 if (descriptor->capacityInFrames < 1 in AudioEndpoint_validateQueueDescriptor()
57 || descriptor->capacityInFrames > RIDICULOUSLY_LARGE_BUFFER_CAPACITY) { in AudioEndpoint_validateQueueDescriptor()
59 descriptor->capacityInFrames); in AudioEndpoint_validateQueueDescriptor()
149 descriptor->capacityInFrames, in configure()
178 descriptor->capacityInFrames, in configure()
183 uint32_t threshold = descriptor->capacityInFrames / 2; in configure()
DAudioStreamInternal.cpp187 capacity = mEndpointDescriptor.dataQueueDescriptor.capacityInFrames; in open()
/frameworks/av/media/libaaudio/src/binding/
DRingBufferParcelable.cpp75 void RingBufferParcelable::setCapacityInFrames(int32_t capacityInFrames) { in setCapacityInFrames() argument
76 mCapacityInFrames = capacityInFrames; in setCapacityInFrames()
153 descriptor->capacityInFrames = mCapacityInFrames; in resolve()
DAAudioServiceDefinitions.h75 int32_t capacityInFrames; // zero if unused member
DRingBufferParcelable.h56 void setCapacityInFrames(int32_t capacityInFrames);