| 35 | } |
| 36 | |
| 37 | DynamicsCompressorNode::DynamicsCompressorNode(AudioContext& ac) |
| 38 | : AudioNode(ac, *desc()) |
| 39 | { |
| 40 | addInput(std::unique_ptr<AudioNodeInput>(new AudioNodeInput(this))); |
| 41 | addOutput(std::unique_ptr<AudioNodeOutput>(new AudioNodeOutput(this, 2))); |
| 42 | |
| 43 | m_threshold = param("threshold"); |
| 44 | m_knee = param("knee"); |
| 45 | m_ratio = param("ratio"); |
| 46 | m_reduction = param("reduction"); |
| 47 | m_attack = param("attack"); |
| 48 | m_release = param("release"); |
| 49 | |
| 50 | initialize(); |
| 51 | } |
| 52 | |
| 53 | DynamicsCompressorNode::~DynamicsCompressorNode() |
| 54 | { |
nothing calls this directly
no outgoing calls
no test coverage detected