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

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

Issue 270103005: Tried to move AudioSummingJuction to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/DynamicsCompressorNode.h ('k') | Source/modules/webaudio/GainNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/DynamicsCompressorNode.cpp
diff --git a/Source/modules/webaudio/DynamicsCompressorNode.cpp b/Source/modules/webaudio/DynamicsCompressorNode.cpp
index 8f4fd02758f73ee615da9217003e6b1816b2995d..64d7ba2941fb3cfc77d2935efb9f35ca5f364c64 100644
--- a/Source/modules/webaudio/DynamicsCompressorNode.cpp
+++ b/Source/modules/webaudio/DynamicsCompressorNode.cpp
@@ -42,7 +42,7 @@ DynamicsCompressorNode::DynamicsCompressorNode(AudioContext* context, float samp
: AudioNode(context, sampleRate)
{
ScriptWrappable::init(this);
- addInput(adoptPtr(new AudioNodeInput(this)));
+ addInput(adoptPtrWillBeNoop(new AudioNodeInput(this)));
addOutput(adoptPtr(new AudioNodeOutput(this, defaultNumberOfOutputChannels)));
setNodeType(NodeTypeDynamicsCompressor);
@@ -113,6 +113,17 @@ double DynamicsCompressorNode::latencyTime() const
return m_dynamicsCompressor->latencyTime();
}
+void DynamicsCompressorNode::trace(Visitor* visitor)
+{
+ visitor->trace(m_threshold);
+ visitor->trace(m_knee);
+ visitor->trace(m_ratio);
+ visitor->trace(m_reduction);
+ visitor->trace(m_attack);
+ visitor->trace(m_release);
+ AudioNode::trace(visitor);
+}
+
} // namespace WebCore
#endif // ENABLE(WEB_AUDIO)
« no previous file with comments | « Source/modules/webaudio/DynamicsCompressorNode.h ('k') | Source/modules/webaudio/GainNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698