• Jean-Paul Saman's avatar
    examples/dvbinfo: limit fifo size · 41e5a3bd
    Jean-Paul Saman authored
    Implemented a function fifo_size() that returns the current size of the fifo.
    The dvbinfo example program uses fifo_size() to detect if the total size of
    buffers inside the fifo exceeds a certain threshold. The threshold is currently
    defined at compile time.
    41e5a3bd
buffer.c 4.58 KB