Could someone explain how actually the callback feature in libiio works?
More precisely what a "sample slot" is?
What I am trying to do is generate a "sample low water mark" from libiio as
my application needs to transmit at a fixed data rate but the source datarate
is variable, it gets around this by injecting null data packets in the data stream.
Unfortunately the very large buffers required in libiio to get the performance
means my original flow control method doesn't work.
I am wonder whether I can use the callback function to tell me when the
transmit buffer is about to empty so I can fill the next buffer up with NULL