JuliaTelecom / SoapySDR.jl

Julia Wrappers for SoapySDR
https://juliatelecom.github.io/SoapySDR.jl/dev/
Other
15 stars 3 forks source link

remove SampleBuffer #31

Closed sjkelly closed 3 years ago

sjkelly commented 3 years ago

This partially addresses #26 and #24. The idea is to go back to a more generic mechanism, and eliminate some sources of issues:

I believe this is likely a more correct fix to #17 and #12.

TODO:

sjkelly commented 3 years ago

This seems to be a minimal fix for the dropped packet issues on the xtrx.

sjkelly commented 3 years ago

check flags

Seems dubious, as we already found out, on most platforms. Checking the nread is most robust.

will readStreamStatus help?

This is not universal unfortunately, and an extension of the flags issues

what to do about latency measures? We make the mtu of a stream transparent to the user now with <Stream>.mtu. Though as noted in some other comments, MTU is only one of the knobs one can turn for latency/throughput optimization.