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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user