pothosware / SoapyAirspy

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

Implement Gain #2

Open cjcliffe opened 8 years ago

cjcliffe commented 8 years ago
xmikos commented 7 years ago

It would be really great if you can implement general gain setting in both "linearity" and "sensitivity" mode. E.g. "linearity" mode is very useful for spectrum analyzer apps (like my QSpectrumAnalyzer). I can reimplement it in app by taking gain tables for linearity and sensitivity mode from https://github.com/airspy/host/blob/master/libairspy/src/airspy.c#L117 and setting VGA, MIXER, LNA gains manually according to it, but it seems wrong duplicating it like this. It should be in lower level.

ghost commented 6 years ago

https://github.com/pothosware/SoapyAirspy/pull/14

gymnae commented 3 years ago

I'm still very interested in this, it appears I cannot pass the values from the lookup table properly by hand.