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

Method updateCompression

src/gui/PhoneCwApplet.cpp:856–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856void PhoneCwApplet::updateCompression(float compPeak)
857{
858 // MeterModel exposes COMPPEAK as a positive 0..25 dB compression amount.
859 // The P/CW gauge face is reversed: 0 = none, -25 = full.
860 const float compressionDb = qBound(0.0f, compPeak, 25.0f);
861 m_compGauge->setValue(-compressionDb);
862}
863
864void PhoneCwApplet::updateAlc(float alc)
865{

Callers 2

wireDspAppletsMethod · 0.80
wireRadioModelMethod · 0.80

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected