pothosware / SoapyAirspy

Soapy SDR plugin for the Airspy
https://github.com/pothosware/SoapyAirspy/wiki
MIT License
25 stars 13 forks source link

Sample type handling #6

Closed touil closed 7 years ago

touil commented 8 years ago

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

I was expecting airspy_set_sample_type(dev, asFormat);

cjcliffe commented 8 years ago

@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.

guruofquality commented 7 years ago

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?