Searched refs:fifo_counter_t (Results 1 – 9 of 9) sorted by relevance
38 fifo_counter_t * readCounterAddress, in FifoControllerIndirect()39 fifo_counter_t * writeCounterAddress) in FifoControllerIndirect()41 , mReadCounterAddress((std::atomic<fifo_counter_t> *) readCounterAddress) in FifoControllerIndirect()42 , mWriteCounterAddress((std::atomic<fifo_counter_t> *) writeCounterAddress) in FifoControllerIndirect()50 virtual fifo_counter_t getReadCounter() override { in getReadCounter()54 virtual void setReadCounter(fifo_counter_t count) override { in setReadCounter()58 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter()62 virtual void setWriteCounter(fifo_counter_t count) override { in setWriteCounter()67 std::atomic<fifo_counter_t> * mReadCounterAddress;68 std::atomic<fifo_counter_t> * mWriteCounterAddress;
33 FifoController(fifo_counter_t bufferSize, fifo_counter_t threshold) in FifoController()42 virtual fifo_counter_t getReadCounter() override { in getReadCounter()45 virtual void setReadCounter(fifo_counter_t n) override { in setReadCounter()48 virtual fifo_counter_t getWriteCounter() override { in getWriteCounter()51 virtual void setWriteCounter(fifo_counter_t n) override { in setWriteCounter()56 std::atomic<fifo_counter_t> mReadCounter;57 std::atomic<fifo_counter_t> mWriteCounter;
44 fifo_counter_t *readCounterAddress,45 fifo_counter_t *writeCounterAddress,98 fifo_counter_t getReadCounter() { in getReadCounter()102 void setReadCounter(fifo_counter_t n) { in setReadCounter()106 fifo_counter_t getWriteCounter() { in getWriteCounter()110 void setWriteCounter(fifo_counter_t n) { in setWriteCounter()129 fifo_counter_t mFramesReadCount;130 fifo_counter_t mFramesUnderrunCount;
24 typedef int64_t fifo_counter_t; typedef52 virtual fifo_counter_t getReadCounter() = 0;58 virtual void setReadCounter(fifo_counter_t count) = 0;63 virtual fifo_counter_t getWriteCounter() = 0;69 virtual void setWriteCounter(fifo_counter_t count) = 0;
54 fifo_counter_t * readIndexAddress, in FifoBuffer()55 fifo_counter_t * writeIndexAddress, in FifoBuffer()
68 void setDataReadCounter(android::fifo_counter_t framesRead);70 android::fifo_counter_t getDataReadCounter();72 void setDataWriteCounter(android::fifo_counter_t framesWritten);74 android::fifo_counter_t getDataWriteCounter();100 android::fifo_counter_t mDataReadCounter; // only used if free-running101 android::fifo_counter_t mDataWriteCounter; // only used if free-running
92 fifo_counter_t counter = *descriptor->readCounterAddress; in AudioEndpoint_validateQueueDescriptor()100 fifo_counter_t counter = *descriptor->writeCounterAddress; in AudioEndpoint_validateQueueDescriptor()220 void AudioEndpoint::setDataReadCounter(fifo_counter_t framesRead) in setDataReadCounter()225 fifo_counter_t AudioEndpoint::getDataReadCounter() in getDataReadCounter()230 void AudioEndpoint::setDataWriteCounter(fifo_counter_t framesRead) in setDataWriteCounter()235 fifo_counter_t AudioEndpoint::getDataWriteCounter() in getDataWriteCounter()
46 mSharedMemorySizeInBytes = mDataMemorySizeInBytes + (2 * (sizeof(fifo_counter_t))); in allocate()73 fifo_counter_t *readCounterAddress = in allocate()74 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_READ_OFFSET]; in allocate()75 fifo_counter_t *writeCounterAddress = in allocate()76 (fifo_counter_t *) &mSharedMemory[SHARED_RINGBUFFER_WRITE_OFFSET]; in allocate()92 sizeof(fifo_counter_t)); in fillParcelable()
33 #define SHARED_RINGBUFFER_WRITE_OFFSET sizeof(fifo_counter_t)34 #define SHARED_RINGBUFFER_DATA_OFFSET (SHARED_RINGBUFFER_WRITE_OFFSET + sizeof(fifo_counter_t))