| 17 | using namespace AudioUtilities; |
| 18 | |
| 19 | DynamicsCompressor::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 | |
| 32 | void DynamicsCompressor::setParameterValue(unsigned parameterID, float value) |
| 33 | { |
nothing calls this directly
no outgoing calls
no test coverage detected