Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp32 FifoBuffer::FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames) in FifoBuffer() argument
33 : mFrameCapacity(capacityInFrames) in FifoBuffer()
41 mFifo = new FifoController(capacityInFrames, capacityInFrames); in FifoBuffer()
43 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBuffer()
47 capacityInFrames, bytesPerFrame); in FifoBuffer()
51 fifo_frames_t capacityInFrames, in FifoBuffer() argument
56 : mFrameCapacity(capacityInFrames) in FifoBuffer()
63 mFifo = new FifoControllerIndirect(capacityInFrames, in FifoBuffer()
64 capacityInFrames, in FifoBuffer()
DFifoBuffer.h40 FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames);
43 fifo_frames_t capacityInFrames,
/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp46 fifo_frames_t capacityInFrames) { in allocate() argument
47 mCapacityInFrames = capacityInFrames; in allocate()
50 mDataMemorySizeInBytes = bytesPerFrame * capacityInFrames; in allocate()
84 mFifoBuffer = new FifoBuffer(bytesPerFrame, capacityInFrames, in allocate()
DSharedRingBuffer.h44 …o_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp52 if (descriptor->capacityInFrames < 1 in AudioEndpoint_validateQueueDescriptor()
53 || descriptor->capacityInFrames > RIDICULOUSLY_LARGE_BUFFER_CAPACITY) { in AudioEndpoint_validateQueueDescriptor()
55 descriptor->capacityInFrames); in AudioEndpoint_validateQueueDescriptor()
140 descriptor->capacityInFrames, in configure()
161 descriptor->capacityInFrames, in configure()
166 uint32_t threshold = descriptor->capacityInFrames / 2; in configure()
DAudioStreamInternal.cpp138 int32_t capacity = mEndpointDescriptor.dataQueueDescriptor.capacityInFrames; in open()
/frameworks/av/media/libaaudio/src/binding/
DRingBufferParcelable.cpp74 void RingBufferParcelable::setCapacityInFrames(int32_t capacityInFrames) { in setCapacityInFrames() argument
75 mCapacityInFrames = capacityInFrames; in setCapacityInFrames()
149 descriptor->capacityInFrames = mCapacityInFrames; in resolve()
DAAudioServiceDefinitions.h70 int32_t capacityInFrames; // zero if unused member
DRingBufferParcelable.h56 void setCapacityInFrames(int32_t capacityInFrames);