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