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

Function linToDb

src/core/ClientGate.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15float linToDb(float lin) noexcept
16{
17 return (lin > 1e-9f) ? 20.0f * std::log10(lin) : -180.0f;
18}
19
20float coeffFromMs(float ms, double sampleRate) noexcept
21{

Callers 1

processMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected