| 300 | } |
| 301 | |
| 302 | void ClientCompApplet::tickMeter() |
| 303 | { |
| 304 | if (!m_audio || !m_grBar) return; |
| 305 | ClientComp* c = comp(); |
| 306 | if (!c) return; |
| 307 | const float gr = c->gainReductionDb(); |
| 308 | m_grBar->setGrDb(gr); |
| 309 | m_grDb = gr; |
| 310 | |
| 311 | if (m_thresh) { QSignalBlocker b(m_thresh); m_thresh->setValue(c->thresholdDb()); } |
| 312 | if (m_ratio) { QSignalBlocker b(m_ratio); m_ratio->setValue(c->ratio()); } |
| 313 | if (m_attack) { QSignalBlocker b(m_attack); m_attack->setValue(c->attackMs()); } |
| 314 | if (m_release) { QSignalBlocker b(m_release); m_release->setValue(c->releaseMs()); } |
| 315 | if (m_makeup) { QSignalBlocker b(m_makeup); m_makeup->setValue(c->makeupDb()); } |
| 316 | } |
| 317 | |
| 318 | } // namespace AetherSDR |
nothing calls this directly
no test coverage detected