pothosware/SoapySDR

In the .NET API an exception is thrown when calling Deactivate

jcma68 opened this issue · 1 comments

Hello,

In the .NET API, an exception "Stream is already inactive" is thrown when calling Deactivate on a valid stream.

it seems to me that there is a typo in file the file SoapySDR/swig/csharp/assembly/Stream.cs, line 111
if(!_active) { ret = _device.DeactivateStreamInternal(...
should be
if(_active) { ret = _device.DeactivateStreamInternal(...

Closed, thanks!