Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(759)

Unified Diff: Source/modules/webaudio/DynamicsCompressorNode.h

Issue 645853010: Make reduction value of dynamics compressor zero when no sources are connected (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/DynamicsCompressorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/DynamicsCompressorNode.h
diff --git a/Source/modules/webaudio/DynamicsCompressorNode.h b/Source/modules/webaudio/DynamicsCompressorNode.h
index a1ca06a11da7eec7a9cdc76e81fe80266e4705ce..eeb738bc78a5139ef66a4ab8cfccc745112b983f 100644
--- a/Source/modules/webaudio/DynamicsCompressorNode.h
+++ b/Source/modules/webaudio/DynamicsCompressorNode.h
@@ -48,6 +48,7 @@ public:
virtual void process(size_t framesToProcess) override;
virtual void initialize() override;
virtual void uninitialize() override;
+ virtual void clearInternalStateWhenDisabled() override;
// Static compression curve parameters.
AudioParam* threshold() { return m_threshold.get(); }
« no previous file with comments | « Source/modules/webaudio/AudioNode.cpp ('k') | Source/modules/webaudio/DynamicsCompressorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698