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

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

Issue 2789883002: setValueCurveAtTime takes sequence<float> for curve (Closed)
Patch Set: Rebaseline test results Created 3 years, 8 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 f21962c3a96f8e973ff6a9dd7fb4b0472bd5c73d..282549f81cd767091e27aa7d587b338a638fe352 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
@@ -61,7 +61,7 @@ class AudioParamTimeline {
double time,
double time_constant,
ExceptionState&);
- void SetValueCurveAtTime(DOMFloat32Array* curve,
+ void SetValueCurveAtTime(const Vector<float>& curve,
double time,
double duration,
ExceptionState&);
@@ -128,7 +128,7 @@ class AudioParamTimeline {
static std::unique_ptr<ParamEvent>
CreateSetTargetEvent(float value, double time, double time_constant);
static std::unique_ptr<ParamEvent> CreateSetValueCurveEvent(
- const DOMFloat32Array* curve,
+ const Vector<float>& curve,
double time,
double duration);
static std::unique_ptr<ParamEvent> CreateCancelValuesEvent(
@@ -210,7 +210,7 @@ class AudioParamTimeline {
ParamEvent(Type,
double time,
double duration,
- const DOMFloat32Array* curve,
+ const Vector<float>& curve,
double curve_points_per_second,
float curve_end_value);

Powered by Google App Engine
This is Rietveld 408576698