| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 case ParamTypeDynamicsCompressorRelease: | 98 case ParamTypeDynamicsCompressorRelease: |
| 99 return "DynamicsCompressor.release"; | 99 return "DynamicsCompressor.release"; |
| 100 case ParamTypeGainGain: | 100 case ParamTypeGainGain: |
| 101 return "Gain.gain"; | 101 return "Gain.gain"; |
| 102 case ParamTypeOscillatorFrequency: | 102 case ParamTypeOscillatorFrequency: |
| 103 return "Oscillator.frequency"; | 103 return "Oscillator.frequency"; |
| 104 case ParamTypeOscillatorDetune: | 104 case ParamTypeOscillatorDetune: |
| 105 return "Oscillator.detune"; | 105 return "Oscillator.detune"; |
| 106 case ParamTypeStereoPannerPan: | 106 case ParamTypeStereoPannerPan: |
| 107 return "StereoPanner.pan"; | 107 return "StereoPanner.pan"; |
| 108 case ParamTypePannerPositionX: |
| 109 return "Panner.positionX"; |
| 110 case ParamTypePannerPositionY: |
| 111 return "Panner.positionY"; |
| 112 case ParamTypePannerPositionZ: |
| 113 return "Panner.positionZ"; |
| 114 case ParamTypePannerOrientationX: |
| 115 return "Panner.orientationX"; |
| 116 case ParamTypePannerOrientationY: |
| 117 return "Panner.orientationY"; |
| 118 case ParamTypePannerOrientationZ: |
| 119 return "Panner.orientationZ"; |
| 120 case ParamTypeAudioListenerPositionX: |
| 121 return "AudioListener.positionX"; |
| 122 case ParamTypeAudioListenerPositionY: |
| 123 return "AudioListener.positionY"; |
| 124 case ParamTypeAudioListenerPositionZ: |
| 125 return "AudioListener.positionZ"; |
| 126 case ParamTypeAudioListenerForwardX: |
| 127 return "AudioListener.forwardX"; |
| 128 case ParamTypeAudioListenerForwardY: |
| 129 return "AudioListener.forwardY"; |
| 130 case ParamTypeAudioListenerForwardZ: |
| 131 return "AudioListener.forwardZ"; |
| 132 case ParamTypeAudioListenerUpX: |
| 133 return "AudioListener.upX"; |
| 134 case ParamTypeAudioListenerUpY: |
| 135 return "AudioListener.upY"; |
| 136 case ParamTypeAudioListenerUpZ: |
| 137 return "AudioListener.upZ"; |
| 108 }; | 138 }; |
| 109 | 139 |
| 110 NOTREACHED(); | 140 NOTREACHED(); |
| 111 return "UnknownNode.unknownAudioParam"; | 141 return "UnknownNode.unknownAudioParam"; |
| 112 } | 142 } |
| 113 | 143 |
| 114 float AudioParamHandler::value() | 144 float AudioParamHandler::value() |
| 115 { | 145 { |
| 116 // Update value for timeline. | 146 // Update value for timeline. |
| 117 float v = intrinsicValue(); | 147 float v = intrinsicValue(); |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 } | 476 } |
| 447 | 477 |
| 448 AudioParam* AudioParam::cancelScheduledValues(double startTime, ExceptionState&
exceptionState) | 478 AudioParam* AudioParam::cancelScheduledValues(double startTime, ExceptionState&
exceptionState) |
| 449 { | 479 { |
| 450 handler().timeline().cancelScheduledValues(startTime, exceptionState); | 480 handler().timeline().cancelScheduledValues(startTime, exceptionState); |
| 451 return this; | 481 return this; |
| 452 } | 482 } |
| 453 | 483 |
| 454 } // namespace blink | 484 } // namespace blink |
| 455 | 485 |
| OLD | NEW |