From 35ccf805ab80df0f3ac67a50cc1694fbe2e1140d Mon Sep 17 00:00:00 2001 From: Leo Currie Date: Fri, 24 Jan 2020 20:34:31 +0000 Subject: Soapy: set RX samplerate which is required by LimeSDR Pull request 40 (cherry picked from commit 8aef8ca39f3a73ba3411876a7abd58204b2f6fe6) --- src/output/Soapy.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/output/Soapy.cpp') diff --git a/src/output/Soapy.cpp b/src/output/Soapy.cpp index 4846279..084591f 100644 --- a/src/output/Soapy.cpp +++ b/src/output/Soapy.cpp @@ -79,6 +79,7 @@ Soapy::Soapy(SDRDeviceConfig& config) : m_device->getMasterClockRate()/1000.0 << " kHz"; m_device->setSampleRate(SOAPY_SDR_TX, 0, m_conf.sampleRate); + m_device->setSampleRate(SOAPY_SDR_RX, 0, m_conf.sampleRate); etiLog.level(info) << "SoapySDR:Actual TX rate: " << std::fixed << std::setprecision(4) << m_device->getSampleRate(SOAPY_SDR_TX, 0) / 1000.0 << -- cgit v1.2.3