Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aethersdr/AetherSDR
/ linearToDb
Function
linearToDb
src/gui/ClientEqOutputFader.cpp:23–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
namespace {
22
23
float linearToDb(float linear)
24
{
25
if (linear <= 1e-6f) return -120.0f;
26
return 20.0f * std::log10(linear);
27
}
28
29
float dbToLinear(float db)
30
{
Callers
5
eventFilter
Method · 0.70
setPeakLinear
Method · 0.70
refreshValueLabel
Method · 0.70
paintEvent
Method · 0.70
wheelEvent
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected