The implementation of read invokes UB by using SoapySDRDevice_readStream to write to buffers which is behind a shared reference. It can probably be solved by changing the signature from &[&mut [E]] to &mut [&mut [E]] unfortunately that's a breaking change.
The implementation of
read
invokes UB by usingSoapySDRDevice_readStream
to write tobuffers
which is behind a shared reference. It can probably be solved by changing the signature from&[&mut [E]]
to&mut [&mut [E]]
unfortunately that's a breaking change.