ericek111 / libmirisdr-5

Support of Mirics MSi001 + MSi2500 SDR devices
GNU General Public License v2.0
27 stars 7 forks source link

Select Low IF when possible? #1

Closed ericek111 closed 1 year ago

ericek111 commented 2 years ago

Vladisslav P. has implemented these automatic low IF selections in his fork:

https://github.com/vladisslav2011/libmirisdr-4/commit/90e1ae69e34f16bfaf9b3c038c44dc511cd9a95c https://github.com/vladisslav2011/libmirisdr-4/commit/da32ef373a74c02488f974ed2e70b1797d28d550

Should we do the same? Or leave it to the user?

nmaster2042 commented 1 year ago

I think automatic selection is better.

It makes usage easier.

ericek111 commented 1 year ago

Those commits have been merged, I forgot about this issue. :D The behaviour can be disabled by calling mirisdr_set_offset_tuning(dev, 0 for manual or 1 for automatic). This is also exposed in the SoapyMiri module: https://github.com/ericek111/SoapyMiri/blob/main/Settings.cpp#L351