Searched refs:capacityInFrames (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 34 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()
|
D | FifoBuffer.h | 40 FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames); 43 fifo_frames_t capacityInFrames,
|
/frameworks/av/services/oboeservice/ |
D | SharedRingBuffer.cpp | 41 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()
|
D | AAudioServiceStreamShared.cpp | 106 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()
|
D | SharedRingBuffer.h | 45 …o_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 56 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()
|
D | AudioStreamInternal.cpp | 187 capacity = mEndpointDescriptor.dataQueueDescriptor.capacityInFrames; in open()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.cpp | 75 void RingBufferParcelable::setCapacityInFrames(int32_t capacityInFrames) { in setCapacityInFrames() argument 76 mCapacityInFrames = capacityInFrames; in setCapacityInFrames() 153 descriptor->capacityInFrames = mCapacityInFrames; in resolve()
|
D | AAudioServiceDefinitions.h | 75 int32_t capacityInFrames; // zero if unused member
|
D | RingBufferParcelable.h | 56 void setCapacityInFrames(int32_t capacityInFrames);
|