pothosware / SoapyAirspy

Soapy SDR plugin for the Airspy

Home Page:https://github.com/pothosware/SoapyAirspy/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample type handling

touil opened this issue · comments

https://github.com/pothosware/SoapyAirspy/blob/master/Streaming.cpp#L147

I was expecting airspy_set_sample_type(dev, asFormat);

@touil thanks; I had left it hard-coded since It's only doing a cast conversion from FLOAT to INT16 at the moment instead of using the proper libairspy sample type facilities -- will fix this up once the support is implemented.

I dont have an airspy to test, but I implemented this feature on the streaming work branch. Any volunteers to give a quick int16 test or confirm floats still work?