pothosware / SoapyRTLSDR

SoapySDR RTL-SDR Support Module
https://github.com/pothosware/SoapyRTLSDR/wiki
MIT License
124 stars 29 forks source link

Fix bug with time/tick tracking #69

Closed brianmwaters closed 1 year ago

brianmwaters commented 1 year ago

Currently, readStream returns an erroneous timestamp, but only in the case when its internal buffer is empty and it has to call acquireReadBuffer to get more data. This fixes that.

It looks like somebody just forgot that a complex U8 sample is actually two bytes, not one.

zuckschwerdt commented 1 year ago

Yes, looks like this slipped through in #36.

brianmwaters commented 1 year ago

That was record timing, thanks.