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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h

Issue 2389253002: reflow comments in modules/{webaudio,vr} (Closed)
Patch Set: . Created 4 years, 2 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
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 3774f84d944f7ff54a4602540814dc36350a3391..f163224fca06f3049d5b39b75cd413618ba6ae08 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
@@ -73,12 +73,13 @@ class AudioParamTimeline {
float minValue,
float maxValue);
- // Given the time range in frames, calculates parameter values into the values buffer and
- // returns the last parameter value calculated for "values" or the defaultValue if none were
- // calculated. controlRate is the rate (number per second) at which parameter values will be
- // calculated. It should equal sampleRate for sample-accurate parameter changes, and otherwise
- // will usually match the render quantum size such that the parameter value changes once per
- // render quantum.
+ // Given the time range in frames, calculates parameter values into the values
+ // buffer and returns the last parameter value calculated for "values" or the
+ // defaultValue if none were calculated. controlRate is the rate (number per
+ // second) at which parameter values will be calculated. It should equal
+ // sampleRate for sample-accurate parameter changes, and otherwise will
+ // usually match the render quantum size such that the parameter value changes
+ // once per render quantum.
float valuesForFrameRange(size_t startFrame,
size_t endFrame,
float defaultValue,
@@ -150,8 +151,8 @@ class AudioParamTimeline {
// Only used for SetValueCurve events.
double m_duration;
Vector<float> m_curve;
- // Initial value and time to use for linear and exponential ramps that don't have a
- // preceding event.
+ // Initial value and time to use for linear and exponential ramps that don't
+ // have a preceding event.
float m_initialValue;
double m_callTime;
};

Powered by Google App Engine
This is Rietveld 408576698