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

Method tickMeter

src/gui/ClientCompApplet.cpp:302–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302void 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

Callers

nothing calls this directly

Calls 8

makeupDbMethod · 0.80
gainReductionDbMethod · 0.45
setGrDbMethod · 0.45
setValueMethod · 0.45
thresholdDbMethod · 0.45
ratioMethod · 0.45
attackMsMethod · 0.45
releaseMsMethod · 0.45

Tested by

no test coverage detected