aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2013-12-03 21:04:41 +0100
committerDimitri Stolnikov <horiz0n@gmx.net>2013-12-05 00:12:27 +0100
commit8cbde92c949e1e6a645664d3377411e7c5b2f229 (patch)
treecd4b9c43c51781ffd70ca88a676a1231a02c8cb4
parent0d10f5e9bc950d6d2b3c39ae574e2d325a0fbeb6 (diff)
rtl/rtl_tcp: add 2.56e6 as 'good' sample rate
Several tests have shown that this is the highest sample rate where no samples are being dropped on rtl devices. Signed-off-by: Steve Markgraf <steve@steve-m.de>
-rw-r--r--lib/rtl/rtl_source_c.cc1
-rw-r--r--lib/rtl_tcp/rtl_tcp_source_c.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/rtl/rtl_source_c.cc b/lib/rtl/rtl_source_c.cc
index f336885..fa351b8 100644
--- a/lib/rtl/rtl_source_c.cc
+++ b/lib/rtl/rtl_source_c.cc
@@ -413,6 +413,7 @@ osmosdr::meta_range_t rtl_source_c::get_sample_rates()
range += osmosdr::range_t( 2000000 ); // known to work
range += osmosdr::range_t( 2048000 ); // known to work
range += osmosdr::range_t( 2400000 ); // known to work
+ range += osmosdr::range_t( 2560000 ); // known to work
// range += osmosdr::range_t( 2600000 ); // may work
// range += osmosdr::range_t( 2800000 ); // may work
// range += osmosdr::range_t( 3000000 ); // may work
diff --git a/lib/rtl_tcp/rtl_tcp_source_c.cc b/lib/rtl_tcp/rtl_tcp_source_c.cc
index 254e799..606254b 100644
--- a/lib/rtl_tcp/rtl_tcp_source_c.cc
+++ b/lib/rtl_tcp/rtl_tcp_source_c.cc
@@ -179,6 +179,7 @@ osmosdr::meta_range_t rtl_tcp_source_c::get_sample_rates( void )
range += osmosdr::range_t( 2000000 ); // known to work
range += osmosdr::range_t( 2048000 ); // known to work
range += osmosdr::range_t( 2400000 ); // known to work
+ range += osmosdr::range_t( 2560000 ); // known to work
// range += osmosdr::range_t( 2600000 ); // may work
// range += osmosdr::range_t( 2800000 ); // may work
// range += osmosdr::range_t( 3000000 ); // may work