| 4441 | } |
| 4442 | |
| 4443 | void AudioEngine::saveClientCompRxSettings() const |
| 4444 | { |
| 4445 | if (!m_clientCompRx) return; |
| 4446 | auto& s = AppSettings::instance(); |
| 4447 | auto toBool = [](bool on) { return on ? QString("True") : QString("False"); }; |
| 4448 | s.setValue("ClientCompRxEnabled", toBool(m_clientCompRx->isEnabled())); |
| 4449 | s.setValue("ClientCompRxThresholdDb", QString::number(m_clientCompRx->thresholdDb())); |
| 4450 | s.setValue("ClientCompRxRatio", QString::number(m_clientCompRx->ratio())); |
| 4451 | s.setValue("ClientCompRxAttackMs", QString::number(m_clientCompRx->attackMs())); |
| 4452 | s.setValue("ClientCompRxReleaseMs", QString::number(m_clientCompRx->releaseMs())); |
| 4453 | s.setValue("ClientCompRxKneeDb", QString::number(m_clientCompRx->kneeDb())); |
| 4454 | s.setValue("ClientCompRxMakeupDb", QString::number(m_clientCompRx->makeupDb())); |
| 4455 | s.setValue("ClientCompRxLimEnabled", toBool(m_clientCompRx->limiterEnabled())); |
| 4456 | s.setValue("ClientCompRxLimCeilingDb", |
| 4457 | QString::number(m_clientCompRx->limiterCeilingDb())); |
| 4458 | } |
| 4459 | |
| 4460 | void AudioEngine::loadClientGateSettings() |
| 4461 | { |
no test coverage detected