Quantcast
Channel: EngineerZone : Discussion List - Virtual Classroom for ADI University Program
Viewing all articles
Browse latest Browse all 295

libiio callback

$
0
0

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

packets.

 

- Charles


Viewing all articles
Browse latest Browse all 295

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>