New rtl-sdr manual buffer resubmission patch after discussion on IRC.
This implementation uses the existing rtlsdr_read_async API and is
more compartmentalized.
RTLSDR driver is amended to handle overflows in a robust way.
Previous code appeared to have many issues: overflows were happening
more than needed and could result in data corruption. Handling is
changed to stop the stream when buffers are exhausted, and restart it
when they have drained.
I apologize that my patches are sent as attachments; I only have
access to webmail at this time.
Hi,
I've modified gr-osmosdr such that all devices respond to message
commands ala USRP.
I feel this is a really valuable addition, and I am happy to continue
to work with it to meet any needs or desires.
Please let me know that this e-mail was received.
Thanks so much,
Karl
Hi,
I've modified gr-osmosdr such that all devices respond to message
commands ala USRP.
I feel this is a really valuable addition, and I am happy to continue
to work with it to meet any needs or desires.
Please let me know that this e-mail was received.
Thanks so much,
Karl
Hi,
I was trying to take advantage of the async zero-copy buffer feature
in librtlsdr, but I found that the automatic resubmission of them made
it hard to make use of them safely.
This patch adds a couple function to manage buffers in a more advanced
manner, so that latency and reuse can be tracked precisely.
I also added some documentation.
I can occasionally make a lot of mistakes, so if anybody has time to
take a brief glance through, it would be really great.
Karl