1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

LimeSDR: device sample rate and hardware decimation/interpolation handling fix and simplification

This commit is contained in:
f4exb
2017-10-24 02:20:57 +02:00
parent 61afe840dc
commit 238c8d312e
10 changed files with 233 additions and 96 deletions
@@ -154,6 +154,18 @@ bool LimeSDRInputGUI::handleMessage(const Message& message)
return true;
}
else if (DeviceLimeSDRShared::MsgReportSampleRateDirChange::match(message))
{
DeviceLimeSDRShared::MsgReportSampleRateDirChange& report = (DeviceLimeSDRShared::MsgReportSampleRateDirChange&) message;
m_settings.m_devSampleRate = report.getDevSampleRate();
m_settings.m_log2HardDecim = report.getLog2HardDecimInterp();
blockApplySettings(true);
displaySettings();
blockApplySettings(false);
return true;
}
else if (DeviceLimeSDRShared::MsgCrossReportToBuddy::match(message))
{
qDebug("LimeSDRInputGUI::handleMessagesToGUI: message: %s", message.getIdentifier());