pothosware / SoapySDRPlay2

Soapy SDR plugin for SDRPlay
MIT License
51 stars 11 forks source link

Possible fix for slow tuning/re-initialisation #17

Closed gedger closed 7 years ago

gedger commented 8 years ago

I had very poor performance when trying to use rx_tools which sweeps over a large band as this was causing continuous re-inits. I saw #14 and have done a fix that 'appears' to work for me but it's not fully tested. May be of use for the final fix?

There's also a little change to get rid of the pedantic compiler warning on a switch not including all the possible enums....

cjcliffe commented 8 years ago

@gedger looks great; I'll give it a go and merge soon.

cjcliffe commented 7 years ago

@gedger works perfectly here, I can hold down the left/right arrow keys now in CubicSDR and it's smooth sailing until it hits a band change and I get a brief pause instead of that being the norm.

The undefined warning was due to that being a new enum in mirsdr lib since the last revision.