| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 AudioParam* linearRampToValueAtTime(float value, | 240 AudioParam* linearRampToValueAtTime(float value, |
| 241 double time, | 241 double time, |
| 242 ExceptionState&); | 242 ExceptionState&); |
| 243 AudioParam* exponentialRampToValueAtTime(float value, | 243 AudioParam* exponentialRampToValueAtTime(float value, |
| 244 double time, | 244 double time, |
| 245 ExceptionState&); | 245 ExceptionState&); |
| 246 AudioParam* setTargetAtTime(float target, | 246 AudioParam* setTargetAtTime(float target, |
| 247 double time, | 247 double time, |
| 248 double time_constant, | 248 double time_constant, |
| 249 ExceptionState&); | 249 ExceptionState&); |
| 250 AudioParam* setValueCurveAtTime(NotShared<DOMFloat32Array> curve, | 250 AudioParam* setValueCurveAtTime(const Vector<float>& curve, |
| 251 double time, | 251 double time, |
| 252 double duration, | 252 double duration, |
| 253 ExceptionState&); | 253 ExceptionState&); |
| 254 AudioParam* cancelScheduledValues(double start_time, ExceptionState&); | 254 AudioParam* cancelScheduledValues(double start_time, ExceptionState&); |
| 255 AudioParam* cancelAndHoldAtTime(double start_time, ExceptionState&); | 255 AudioParam* cancelAndHoldAtTime(double start_time, ExceptionState&); |
| 256 | 256 |
| 257 private: | 257 private: |
| 258 AudioParam(BaseAudioContext&, | 258 AudioParam(BaseAudioContext&, |
| 259 AudioParamType, | 259 AudioParamType, |
| 260 double default_value, | 260 double default_value, |
| 261 float min, | 261 float min, |
| 262 float max); | 262 float max); |
| 263 | 263 |
| 264 void WarnIfOutsideRange(const String& param_methd, float value); | 264 void WarnIfOutsideRange(const String& param_methd, float value); |
| 265 | 265 |
| 266 RefPtr<AudioParamHandler> handler_; | 266 RefPtr<AudioParamHandler> handler_; |
| 267 Member<BaseAudioContext> context_; | 267 Member<BaseAudioContext> context_; |
| 268 }; | 268 }; |
| 269 | 269 |
| 270 } // namespace blink | 270 } // namespace blink |
| 271 | 271 |
| 272 #endif // AudioParam_h | 272 #endif // AudioParam_h |
| OLD | NEW |