| Index: Source/modules/webaudio/AudioParam.cpp
|
| diff --git a/Source/modules/webaudio/AudioParam.cpp b/Source/modules/webaudio/AudioParam.cpp
|
| index 52013f7d91dc8f92c3d788f8c3be290a8ace010c..6555e8e4f17a7e03c1c8785a5b64d13b81b9f44b 100644
|
| --- a/Source/modules/webaudio/AudioParam.cpp
|
| +++ b/Source/modules/webaudio/AudioParam.cpp
|
| @@ -74,12 +74,12 @@ bool AudioParam::smooth()
|
| bool useTimelineValue = false;
|
| if (context())
|
| m_value = m_timeline.valueForContextTime(context(), narrowPrecisionToFloat(m_value), useTimelineValue);
|
| -
|
| +
|
| if (m_smoothedValue == m_value) {
|
| // Smoothed value has already approached and snapped to value.
|
| return true;
|
| }
|
| -
|
| +
|
| if (useTimelineValue)
|
| m_smoothedValue = m_value;
|
| else {
|
|
|