pothosware/SoapySDRPlay2

Setting bandwidth 0 selects 8 MHZ

dk7ob opened this issue · 1 comments

dk7ob commented

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

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