Home
last modified time | relevance | path

Searched refs:fifo (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp104 std::shared_ptr<FifoBuffer> fifo; in callbackLoop() local
105 if (audioDataQueue && (fifo = audioDataQueue->getFifoBuffer())) { in callbackLoop()
109 clientFramesRead = fifo->getReadCounter(); in callbackLoop()
114 int32_t framesMixed = mMixer.mix(index, fifo, allowUnderflow); in callbackLoop()
128 clientFramesRead = fifo->getReadCounter(); in callbackLoop()
DAAudioMixer.cpp48 int32_t AAudioMixer::mix(int streamIndex, std::shared_ptr<FifoBuffer> fifo, bool allowUnderflow) { in mix() argument
57 fifo_frames_t fullFrames = fifo->getFullDataAvailable(&wrappingBuffer); in mix()
98 fifo->advanceReadIndex(framesDesired); in mix()
DAAudioServiceStreamShared.cpp278 std::shared_ptr<FifoBuffer> fifo = mAudioDataQueue->getFifoBuffer(); in writeDataIfRoom() local
281 clientFramesWritten = fifo->getWriteCounter(); in writeDataIfRoom()
287 if (fifo->getEmptyFramesAvailable() < getFramesPerBurst()) { in writeDataIfRoom()
290 fifo->write(buffer, numFrames); in writeDataIfRoom()
292 clientFramesWritten = fifo->getWriteCounter(); in writeDataIfRoom()
DAAudioMixer.h40 int32_t mix(int streamIndex, std::shared_ptr<android::FifoBuffer> fifo, bool allowUnderflow);
/frameworks/av/media/libaaudio/src/
DAndroid.bp17 "fifo",
76 "fifo",
126 "fifo/FifoBuffer.cpp",
127 "fifo/FifoControllerBase.cpp",
/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp50 static audio_utils_fifo *fifo; variable
524 fifo = new audio_utils_fifo(FIFO_FRAMES, sfframesize, fifoBuffer); in main()
525 fifoReader = new audio_utils_fifo_reader(*fifo, true /*throttlesWriter*/); in main()
526 fifoWriter = new audio_utils_fifo_writer(*fifo); in main()
604 delete fifo; in main()
605 fifo = NULL; in main()
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp64 static audio_utils_fifo *fifo; variable
370 fifo = new audio_utils_fifo(FIFO_FRAMES, frameSize, fifoBuffer); in main()
371 fifoReader = new audio_utils_fifo_reader(*fifo, true /*throttlesWriter*/); in main()
372 fifoWriter = new audio_utils_fifo_writer(*fifo); in main()
595 delete fifo; in main()
596 fifo = NULL; in main()
/frameworks/av/media/libaaudio/src/fifo/
DREADME.md6 TODO The internal low-level implementation might be merged in some form with audio_utils fifo