1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-05 08:21:16 -05:00

Use settings keys in baseband

This commit is contained in:
Jon Beniston 2023-09-15 09:34:57 +01:00
parent 0dc87edc33
commit 2d24d2da49

View File

@ -170,7 +170,11 @@ void LocalSinkBaseband::applySettings(const LocalSinkSettings& settings, const Q
} }
m_sink.applySettings(settings, settingsKeys, force); m_sink.applySettings(settings, settingsKeys, force);
if (force) {
m_settings = settings; m_settings = settings;
} else {
m_settings.applySettings(settingsKeys, settings);
}
} }
int LocalSinkBaseband::getChannelSampleRate() const int LocalSinkBaseband::getChannelSampleRate() const