mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
SoapySDR support: fixed update settings processing in GUIs
This commit is contained in:
@@ -620,12 +620,13 @@ bool SoapySDRInput::handleMessage(const Message& message __attribute__((unused))
|
||||
settings.m_fcPos = (SoapySDRInputSettings::fcPos_t) report.getFcPos();
|
||||
//bool fromRxBuddy = report.getRxElseTx();
|
||||
|
||||
settings.m_centerFrequency = m_deviceShared.m_device->getFrequency(
|
||||
double centerFrequency = m_deviceShared.m_device->getFrequency(
|
||||
SOAPY_SDR_RX,
|
||||
requestedChannel,
|
||||
m_deviceShared.m_deviceParams->getRxChannelMainTunableElementName(requestedChannel));
|
||||
|
||||
settings.m_devSampleRate = m_deviceShared.m_device->getSampleRate(SOAPY_SDR_RX, requestedChannel);
|
||||
settings.m_centerFrequency = round(centerFrequency/1000.0) * 1000;
|
||||
settings.m_devSampleRate = round(m_deviceShared.m_device->getSampleRate(SOAPY_SDR_RX, requestedChannel));
|
||||
|
||||
SoapySDRInputThread *inputThread = findThread();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user