| Index: third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
|
| index 2f799a6e35bae8c87c007e51172b31b2018fcc63..4fee60733e96b4685aaa3a1bbbafd13957630231 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
|
| @@ -67,6 +67,8 @@ public:
|
| // Returns true if this AudioParam has any events on it.
|
| bool hasValues() const;
|
|
|
| + float smoothedValue() { return m_smoothedValue; }
|
| + void setSmoothedValue(float v) { m_smoothedValue = v; }
|
| private:
|
| class ParamEvent {
|
| public:
|
| @@ -121,6 +123,9 @@ private:
|
| Vector<ParamEvent> m_events;
|
|
|
| mutable Mutex m_eventsLock;
|
| +
|
| + // Smoothing (de-zippering)
|
| + float m_smoothedValue;
|
| };
|
|
|
| } // namespace blink
|
|
|