pothosware / SoapySDRPlay2

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

Setting bandwidth 0 selects 8 MHZ #12

Closed dk7ob closed 8 years ago

dk7ob commented 8 years ago

If a bandwidth 0 is set with SoapySDRPlay::setBandwidth(), the optimum bandwidth for the current sample rate should be selected. Instead of this alwys the maximum bandwithd of 8MHZ is selected, which later may lead to an error in the mir driver (bandwidth too high for current sample rate).

The attached patch fixes this (renamed to .txt to allow upload)

0002-setBandWidth-Select-select-optimum-bandwidth-for-sam.patch.txt

cjcliffe commented 8 years ago

Sorry for the delay; patch has been applied -- thanks!