pothosware / SoapySDRPlay3

Soapy SDR plugin for SDRPlay APIv3
https://github.com/pothosware/SoapySDRPlay3/wiki
MIT License
90 stars 15 forks source link

Log a message when IFGR settings are ignored because of AGC #46

Closed devicenull closed 2 years ago

devicenull commented 2 years ago

This confused me for awhile - IFGR settings are completely ignored when the AGC is enabled, and there's no error presented when that happens.

fventuri commented 2 years ago

@devicenull - I apologize for the confusion about attempting to set the IF gain when the AGC is enabled.

I followed your advice to add a warning message - please take a look at this commit (https://github.com/pothosware/SoapySDRPlay3/commit/b2d2a17629070b138a3a49b72d50eaeb99d9f8e7) - since I already had an 'if' for "IFGR", I put the warning message inside that, but the result should be identical to your proposed change.

Please let me know if it works for you. Franco

devicenull commented 2 years ago

Thanks, looks good to me!