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

Method setPeakLinear

src/gui/ClientLevelMeter.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void ClientLevelMeter::setPeakLinear(float peakLinear)
60{
61 setPeakDb(linearToDb(std::max(peakLinear, 1e-6f)));
62}
63
64void ClientLevelMeter::paintEvent(QPaintEvent*)
65{

Callers 2

tickFftAnalyzerMethod · 0.45
tickFftAnalyzerMethod · 0.45

Calls 1

linearToDbFunction · 0.70

Tested by

no test coverage detected