Searched refs:availableToProduce (Results 1 – 2 of 2) sorted by relevance
30 size_t RingBuffer::availableToProduce() const { in availableToProduce() function in android::hardware::audio::V6_0::implementation::RingBuffer67 const int availableToProduce = mCapacity - mAvailableToConsume; in getProduceChunk() local73 ? std::min(mCapacity - mProducePos, availableToProduce) in getProduceChunk()74 : std::min(mConsumePos - mProducePos, availableToProduce); in getProduceChunk()81 const int availableToProduce = mCapacity - mAvailableToConsume; in produce() local82 size = std::min(size, size_t(availableToProduce)); in produce()98 const int availableToProduce = mCapacity - mAvailableToConsume; in produce() local100 ? std::min(mCapacity - mProducePos, availableToProduce) in produce()101 : std::min(mConsumePos - mProducePos, availableToProduce); in produce()
38 size_t availableToProduce() const;