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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h

Issue 2655073009: Rename cancelValuesAndHoldAtTime to cancelAndHoldAtTime. (Closed)
Patch Set: Rebase expected results Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ExceptionState&); 57 ExceptionState&);
58 void setTargetAtTime(float target, 58 void setTargetAtTime(float target,
59 double time, 59 double time,
60 double timeConstant, 60 double timeConstant,
61 ExceptionState&); 61 ExceptionState&);
62 void setValueCurveAtTime(DOMFloat32Array* curve, 62 void setValueCurveAtTime(DOMFloat32Array* curve,
63 double time, 63 double time,
64 double duration, 64 double duration,
65 ExceptionState&); 65 ExceptionState&);
66 void cancelScheduledValues(double startTime, ExceptionState&); 66 void cancelScheduledValues(double startTime, ExceptionState&);
67 void cancelValuesAndHoldAtTime(double cancelTime, ExceptionState&); 67 void cancelAndHoldAtTime(double cancelTime, ExceptionState&);
68 68
69 // hasValue is set to true if a valid timeline value is returned. 69 // hasValue is set to true if a valid timeline value is returned.
70 // otherwise defaultValue is returned. 70 // otherwise defaultValue is returned.
71 float valueForContextTime(AudioDestinationHandler&, 71 float valueForContextTime(AudioDestinationHandler&,
72 float defaultValue, 72 float defaultValue,
73 bool& hasValue, 73 bool& hasValue,
74 float minValue, 74 float minValue,
75 float maxValue); 75 float maxValue);
76 76
77 // Given the time range in frames, calculates parameter values into the values 77 // Given the time range in frames, calculates parameter values into the values
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 302
303 mutable Mutex m_eventsLock; 303 mutable Mutex m_eventsLock;
304 304
305 // Smoothing (de-zippering) 305 // Smoothing (de-zippering)
306 float m_smoothedValue; 306 float m_smoothedValue;
307 }; 307 };
308 308
309 } // namespace blink 309 } // namespace blink
310 310
311 #endif // AudioParamTimeline_h 311 #endif // AudioParamTimeline_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698