Expose attack, release as DynamicsCompressorNode's attributes.
[WebKit-https.git] / Source / WebCore / webaudio / DynamicsCompressorNode.h
index cf7e63a429fbdd49a617a7d16f0fb72ddeffff97..338dff3b0507633b922a00a941725eece89f9529 100644 (file)
@@ -52,6 +52,8 @@ public:
     AudioParam* threshold() { return m_threshold.get(); }
     AudioParam* knee() { return m_knee.get(); }
     AudioParam* ratio() { return m_ratio.get(); }
+    AudioParam* attack() { return m_attack.get(); }
+    AudioParam* release() { return m_release.get(); }
 
     // Amount by which the compressor is currently compressing the signal in decibels.
     AudioParam* reduction() { return m_reduction.get(); }
@@ -67,6 +69,8 @@ private:
     RefPtr<AudioParam> m_knee;
     RefPtr<AudioParam> m_ratio;
     RefPtr<AudioParam> m_reduction;
+    RefPtr<AudioParam> m_attack;
+    RefPtr<AudioParam> m_release;
 };
 
 } // namespace WebCore