| Index: Source/modules/webaudio/AudioParam.h
|
| diff --git a/Source/modules/webaudio/AudioParam.h b/Source/modules/webaudio/AudioParam.h
|
| index 7a673e4ba1e528c5298b62b775466ed3343fff1a..b6c30cbaeb86c30df1f1259b01a0bd3ed32edf5f 100644
|
| --- a/Source/modules/webaudio/AudioParam.h
|
| +++ b/Source/modules/webaudio/AudioParam.h
|
| @@ -85,7 +85,7 @@ public:
|
| void resetSmoothedValue() { m_smoothedValue = m_value; }
|
| void setSmoothingConstant(double k) { m_smoothingConstant = k; }
|
|
|
| - // Parameter automation.
|
| + // Parameter automation.
|
| void setValueAtTime(float value, double time) { m_timeline.setValueAtTime(value, time); }
|
| void linearRampToValueAtTime(float value, double time) { m_timeline.linearRampToValueAtTime(value, time); }
|
| void exponentialRampToValueAtTime(float value, double time) { m_timeline.exponentialRampToValueAtTime(value, time); }
|
| @@ -94,7 +94,7 @@ public:
|
| void cancelScheduledValues(double startTime) { m_timeline.cancelScheduledValues(startTime); }
|
|
|
| bool hasSampleAccurateValues() { return m_timeline.hasValues() || numberOfRenderingConnections(); }
|
| -
|
| +
|
| // Calculates numberOfValues parameter values starting at the context's current time.
|
| // Must be called in the context's render thread.
|
| void calculateSampleAccurateValues(float* values, unsigned numberOfValues);
|
| @@ -133,7 +133,7 @@ private:
|
| // Smoothing (de-zippering)
|
| double m_smoothedValue;
|
| double m_smoothingConstant;
|
| -
|
| +
|
| AudioParamTimeline m_timeline;
|
| };
|
|
|
|
|