Chromium Code Reviews| Index: Source/modules/webaudio/DynamicsCompressorNode.cpp |
| diff --git a/Source/modules/webaudio/DynamicsCompressorNode.cpp b/Source/modules/webaudio/DynamicsCompressorNode.cpp |
| index 787c78bb9d4d18e6b46f2e859132239788766d9c..94beccd739dce8bd40cba69764e0f5f3d7f19598 100644 |
| --- a/Source/modules/webaudio/DynamicsCompressorNode.cpp |
| +++ b/Source/modules/webaudio/DynamicsCompressorNode.cpp |
| @@ -108,6 +108,11 @@ void DynamicsCompressorNode::uninitialize() |
| AudioNode::uninitialize(); |
| } |
| +void DynamicsCompressorNode::clearInternalState() |
| +{ |
| + m_reduction->setValue(0); |
|
Raymond Toy
2014/10/21 19:28:56
Any other state we want to clear here?
hongchan
2014/10/21 20:20:37
The other parameters are user-modifiable. I believ
|
| +} |
| + |
| double DynamicsCompressorNode::tailTime() const |
| { |
| return m_dynamicsCompressor->tailTime(); |