1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

SoapySDR support: input: tunable elements GUIs

This commit is contained in:
f4exb
2018-11-05 17:27:32 +01:00
parent 52e9a72098
commit 0f14527039
11 changed files with 163 additions and 13 deletions
@@ -233,6 +233,12 @@ int SoapySDRInput::getAntennaIndex(const std::string& antenna)
}
}
const std::vector<DeviceSoapySDRParams::FrequencySetting>& SoapySDRInput::getTunableElements()
{
const DeviceSoapySDRParams::ChannelSettings* channelSettings = m_deviceShared.m_deviceParams->getRxChannelSettings(m_deviceShared.m_channel);
return channelSettings->m_frequencySettings;
}
void SoapySDRInput::init()
{
applySettings(m_settings, true);