• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libaaudio/src/fifo/
NameDateSize

..29-Aug-20174 KiB

FifoBuffer.cpp29-Aug-20176.9 KiB

FifoBuffer.h29-Aug-20173.5 KiB

FifoController.h29-Aug-20171.8 KiB

FifoControllerBase.cpp29-Aug-20171.9 KiB

FifoControllerBase.h29-Aug-20173.5 KiB

FifoControllerIndirect.h29-Aug-20172.3 KiB

README.md29-Aug-2017516

README.md

1Simple atomic FIFO for passing data between threads or processes.
2This does not require mutexes.
3
4One thread modifies the readCounter and the other thread modifies the writeCounter.
5
6TODO The internal low-level implementation might be merged in some form with audio_utils fifo
7and/or FMQ [after confirming that requirements are met].
8The higher-levels parts related to AAudio use of the FIFO such as API, fds, relative
9location of indices and data buffer, mapping, allocation of memmory will probably be kept as-is.
10