| 4890 | } |
| 4891 | |
| 4892 | void AudioEngine::saveClientReverbSettings() |
| 4893 | { |
| 4894 | if (!m_clientReverbTx) return; |
| 4895 | auto& s = AppSettings::instance(); |
| 4896 | auto toBool = [](bool on) { return on ? QString("True") : QString("False"); }; |
| 4897 | s.setValue("ClientReverbTxEnabled", toBool(m_clientReverbTx->isEnabled())); |
| 4898 | s.setValue("ClientReverbTxSize", |
| 4899 | QString::number(m_clientReverbTx->size())); |
| 4900 | s.setValue("ClientReverbTxDecayS", |
| 4901 | QString::number(m_clientReverbTx->decayS())); |
| 4902 | s.setValue("ClientReverbTxDamping", |
| 4903 | QString::number(m_clientReverbTx->damping())); |
| 4904 | s.setValue("ClientReverbTxPreDelayMs", |
| 4905 | QString::number(m_clientReverbTx->preDelayMs())); |
| 4906 | s.setValue("ClientReverbTxMix", |
| 4907 | QString::number(m_clientReverbTx->mix())); |
| 4908 | emit clientReverbStateChanged(); |
| 4909 | } |
| 4910 | |
| 4911 | void AudioEngine::loadClientFinalLimiterSettings() |
| 4912 | { |
no test coverage detected