bladeRF
bladeRF copied to clipboard
report tx underruns to the host - BLADERF_META_STATUS_UNDERRUN
The issue mentioned in https://nuand.com/forums/viewtopic.php?t=3792 was apparently never created, so I'll do it now - the only test using BLADERF_META_STATUS_UNDERRUN is the digital loopback test, so as far as I can tell the underrun is currently not reported, which is also what the header states.
Transmitting consecutive BLADERF_FORMAT_SC16_Q11_META buffers using the sync api with a buffer size of 1024 samples fails horribly for me, I get large gaps between buffer blocks, but I can't detect this to automatically adjust the latency and provide data earlier/more data./use larger buffer sizes. That flag or a way to query a underrun counter would help a lot...
(The device is a xa5)