MCPcopy Create free account
hub / github.com/LabSound/LabSound / decibelsToLinear

Method decibelsToLinear

src/internal/src/AudioUtilities.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "LabSound/core/Macros.h"
9
10float lab::AudioUtilities::decibelsToLinear(float decibels)
11{
12 return std::pow(10.f, 0.05f * decibels);
13}
14
15float lab::AudioUtilities::linearToDecibels(float linear)
16{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected