Home
last modified time | relevance | path

Searched refs:availableToProduce (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/audio/
Dring_buffer.cpp30 size_t RingBuffer::availableToProduce() const { in availableToProduce() function in android::hardware::audio::V6_0::implementation::RingBuffer
67 const int availableToProduce = mCapacity - mAvailableToConsume; in getProduceChunk() local
73 ? std::min(mCapacity - mProducePos, availableToProduce) in getProduceChunk()
74 : std::min(mConsumePos - mProducePos, availableToProduce); in getProduceChunk()
81 const int availableToProduce = mCapacity - mAvailableToConsume; in produce() local
82 size = std::min(size, size_t(availableToProduce)); in produce()
98 const int availableToProduce = mCapacity - mAvailableToConsume; in produce() local
100 ? std::min(mCapacity - mProducePos, availableToProduce) in produce()
101 : std::min(mConsumePos - mProducePos, availableToProduce); in produce()
Dring_buffer.h38 size_t availableToProduce() const;