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

Method DynamicsCompressor

src/internal/src/DynamicsCompressor.cpp:19–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17using namespace AudioUtilities;
18
19DynamicsCompressor::DynamicsCompressor(unsigned numberOfChannels)
20 : m_numberOfChannels(numberOfChannels)
21 , m_compressor(numberOfChannels)
22{
23 // Uninitialized state - for parameter recalculation.
24 m_lastFilterStageRatio = -1;
25 m_lastAnchor = -1;
26 m_lastFilterStageGain = -1;
27
28 setNumberOfChannels(numberOfChannels);
29 initializeParameters();
30}
31
32void DynamicsCompressor::setParameterValue(unsigned parameterID, float value)
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected