MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / loadClientCompRxSettings

Method loadClientCompRxSettings

src/core/AudioEngine.cpp:4419–4441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4417}
4418
4419void AudioEngine::loadClientCompRxSettings()
4420{
4421 if (!m_clientCompRx) return;
4422 auto& s = AppSettings::instance();
4423 m_clientCompRx->setEnabled(
4424 s.value("ClientCompRxEnabled", "False").toString() == "True");
4425 m_clientCompRx->setThresholdDb(
4426 s.value("ClientCompRxThresholdDb", "-18.0").toFloat());
4427 m_clientCompRx->setRatio(
4428 s.value("ClientCompRxRatio", "3.0").toFloat());
4429 m_clientCompRx->setAttackMs(
4430 s.value("ClientCompRxAttackMs", "20.0").toFloat());
4431 m_clientCompRx->setReleaseMs(
4432 s.value("ClientCompRxReleaseMs", "200.0").toFloat());
4433 m_clientCompRx->setKneeDb(
4434 s.value("ClientCompRxKneeDb", "6.0").toFloat());
4435 m_clientCompRx->setMakeupDb(
4436 s.value("ClientCompRxMakeupDb", "0.0").toFloat());
4437 m_clientCompRx->setLimiterEnabled(
4438 s.value("ClientCompRxLimEnabled", "True").toString() == "True");
4439 m_clientCompRx->setLimiterCeilingDb(
4440 s.value("ClientCompRxLimCeilingDb", "-1.0").toFloat());
4441}
4442
4443void AudioEngine::saveClientCompRxSettings() const
4444{

Callers

nothing calls this directly

Calls 11

setKneeDbMethod · 0.80
setMakeupDbMethod · 0.80
setLimiterEnabledMethod · 0.80
setEnabledMethod · 0.45
toStringMethod · 0.45
valueMethod · 0.45
setThresholdDbMethod · 0.45
setRatioMethod · 0.45
setAttackMsMethod · 0.45
setReleaseMsMethod · 0.45
setLimiterCeilingDbMethod · 0.45

Tested by

no test coverage detected