OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 ExceptionState&); | 244 ExceptionState&); |
245 AudioParam* setTargetAtTime(float target, | 245 AudioParam* setTargetAtTime(float target, |
246 double time, | 246 double time, |
247 double timeConstant, | 247 double timeConstant, |
248 ExceptionState&); | 248 ExceptionState&); |
249 AudioParam* setValueCurveAtTime(DOMFloat32Array* curve, | 249 AudioParam* setValueCurveAtTime(DOMFloat32Array* curve, |
250 double time, | 250 double time, |
251 double duration, | 251 double duration, |
252 ExceptionState&); | 252 ExceptionState&); |
253 AudioParam* cancelScheduledValues(double startTime, ExceptionState&); | 253 AudioParam* cancelScheduledValues(double startTime, ExceptionState&); |
| 254 AudioParam* cancelValuesAndHoldAtTime(double startTime, ExceptionState&); |
254 | 255 |
255 private: | 256 private: |
256 AudioParam(BaseAudioContext&, | 257 AudioParam(BaseAudioContext&, |
257 AudioParamType, | 258 AudioParamType, |
258 double defaultValue, | 259 double defaultValue, |
259 float min, | 260 float min, |
260 float max); | 261 float max); |
261 | 262 |
262 void warnIfOutsideRange(const String& paramMethd, float value); | 263 void warnIfOutsideRange(const String& paramMethd, float value); |
263 | 264 |
264 RefPtr<AudioParamHandler> m_handler; | 265 RefPtr<AudioParamHandler> m_handler; |
265 Member<BaseAudioContext> m_context; | 266 Member<BaseAudioContext> m_context; |
266 }; | 267 }; |
267 | 268 |
268 } // namespace blink | 269 } // namespace blink |
269 | 270 |
270 #endif // AudioParam_h | 271 #endif // AudioParam_h |
OLD | NEW |