| 149 | } |
| 150 | |
| 151 | void ClientCompThresholdFader::setInputPeakDb(float db) |
| 152 | { |
| 153 | const float alpha = (db > m_smoothedPeakDb) ? kPeakAttack : kPeakRelease; |
| 154 | m_smoothedPeakDb += alpha * (db - m_smoothedPeakDb); |
| 155 | update(); |
| 156 | } |
| 157 | |
| 158 | void ClientCompThresholdFader::refreshValueLabel() |
| 159 | { |
no outgoing calls
no test coverage detected