OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |