From 55e68d74253de35ebb422e670cd92cebfbec10ba Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Tue, 6 Feb 2024 17:37:08 -0500 Subject: [PATCH] Allowing the full range of sample rates for SDRPlay source. --- owrx/source/sdrplay.py | 43 ++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/owrx/source/sdrplay.py b/owrx/source/sdrplay.py index 7e43d11b..85f1409a 100644 --- a/owrx/source/sdrplay.py +++ b/owrx/source/sdrplay.py @@ -104,24 +104,27 @@ class SdrplayDeviceDescription(SoapyConnectorDeviceDescription): # i don't think it's accurate, but this is the limitation we'd be running into if we had proper soapy # integration. return [ - Range(62500), - Range(96000), - Range(125000), - Range(192000), - Range(250000), - Range(384000), - Range(500000), - Range(768000), - Range(1000000), - Range(1536000), - Range(2000000), - Range(2048000), - Range(3000000), - Range(4000000), - Range(5000000), - Range(6000000), - Range(7000000), - Range(8000000), - Range(9000000), - Range(10000000), + # SoapySDRPlay3 will take any of the frequencies in this range, + # and SDRPlay hardware actually supports the whole range. + Range(62500, 10000000), +# Range(62500), +# Range(96000), +# Range(125000), +# Range(192000), +# Range(250000), +# Range(384000), +# Range(500000), +# Range(768000), +# Range(1000000), +# Range(1536000), +# Range(2000000), +# Range(2048000), +# Range(3000000), +# Range(4000000), +# Range(5000000), +# Range(6000000), +# Range(7000000), +# Range(8000000), +# Range(9000000), +# Range(10000000), ]