Home
last modified time | relevance | path

Searched refs:mFifo (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp41 mFifo = new FifoController(capacityInFrames, capacityInFrames); in FifoBuffer()
63 mFifo = new FifoControllerIndirect(capacityInFrames, in FifoBuffer()
74 delete mFifo; in ~FifoBuffer()
109 fifo_frames_t framesAvailable = mFifo->getFullFramesAvailable(); in getFullDataAvailable()
110 fifo_frames_t startIndex = mFifo->getReadIndex(); in getFullDataAvailable()
115 fifo_frames_t framesAvailable = mFifo->getEmptyFramesAvailable(); in getEmptyRoomAvailable()
116 fifo_frames_t startIndex = mFifo->getWriteIndex(); in getEmptyRoomAvailable()
147 mFifo->advanceReadIndex(framesRead); in read()
178 mFifo->advanceWriteIndex(framesWritten); in write()
200 return mFifo->getThreshold(); in getThreshold()
[all …]
DFifoBuffer.h90 FifoControllerBase *getFifoControllerBase() { return mFifo; } in getFifoControllerBase()
97 return mFifo->getReadCounter(); in getReadCounter()
101 mFifo->setReadCounter(n); in setReadCounter()
105 return mFifo->getWriteCounter(); in getWriteCounter()
109 mFifo->setWriteCounter(n); in setWriteCounter()
121 FifoControllerBase *mFifo; variable
/frameworks/av/media/libnbaio/
DPipe.cpp33 mFifo(mMaxFrames, Format_frameSize(format), mBuffer, false /*throttlesWriter*/), in Pipe()
34 mFifoWriter(mFifo), in Pipe()
DNBLog.cpp219 : mShared(NULL), mFifo(NULL), mFifoWriter(NULL), mEnabled(false), mPidTag(NULL), mPidTagSize(0) in Writer()
225 mFifo(mShared != NULL ? in Writer()
228 mFifoWriter(mFifo != NULL ? new audio_utils_fifo_writer(*mFifo) : NULL), in Writer()
254 delete mFifo; in ~Writer()
588 mFifo(mShared != NULL ? in Reader()
591 mFifoReader(mFifo != NULL ? new audio_utils_fifo_reader(*mFifo) : NULL) in Reader()
604 delete mFifo; in ~Reader()
630 size_t capacity = mFifo->capacity(); in getSnapshot()
643 memcpy(snapshot->mData, (const char *) mFifo->buffer() + iovec[0].mOffset, iovec[0].mLength); in getSnapshot()
646 (const char *) mFifo->buffer() + iovec[1].mOffset, iovec[1].mLength); in getSnapshot()
[all …]
DMonoPipe.cpp37 mFifo(mMaxFrames, Format_frameSize(format), mBuffer, true /*throttlesWriter*/), in MonoPipe()
38 mFifoWriter(mFifo), in MonoPipe()
DMonoPipeReader.cpp28 mPipe(pipe), mFifoReader(mPipe->mFifo, true /*throttlesWriter*/) in MonoPipeReader()
DPipeReader.cpp29 mPipe(pipe), mFifoReader(mPipe.mFifo, false /*throttlesWriter*/, true /*flush*/), in PipeReader()
/frameworks/av/media/libnbaio/include/
DPipe.h63 audio_utils_fifo mFifo; variable
DMonoPipe.h89 audio_utils_fifo mFifo; variable
DNBLog.h277 audio_utils_fifo * const mFifo; // FIFO itself, variable
372 audio_utils_fifo * const mFifo; // FIFO itself, variable
427 std::unique_ptr<audio_utils_fifo> mFifo; variable