| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 case kParamTypeAudioListenerForwardZ: | 130 case kParamTypeAudioListenerForwardZ: |
| 131 return "AudioListener.forwardZ"; | 131 return "AudioListener.forwardZ"; |
| 132 case kParamTypeAudioListenerUpX: | 132 case kParamTypeAudioListenerUpX: |
| 133 return "AudioListener.upX"; | 133 return "AudioListener.upX"; |
| 134 case kParamTypeAudioListenerUpY: | 134 case kParamTypeAudioListenerUpY: |
| 135 return "AudioListener.upY"; | 135 return "AudioListener.upY"; |
| 136 case kParamTypeAudioListenerUpZ: | 136 case kParamTypeAudioListenerUpZ: |
| 137 return "AudioListener.upZ"; | 137 return "AudioListener.upZ"; |
| 138 case kParamTypeConstantSourceValue: | 138 case kParamTypeConstantSourceValue: |
| 139 return "ConstantSource.sourceValue"; | 139 return "ConstantSource.sourceValue"; |
| 140 case kParamTypeAudioWorkletNode: |
| 141 return "AudioWorkletNode.param"; |
| 140 }; | 142 }; |
| 141 | 143 |
| 142 NOTREACHED(); | 144 NOTREACHED(); |
| 143 return "UnknownNode.unknownAudioParam"; | 145 return "UnknownNode.unknownAudioParam"; |
| 144 } | 146 } |
| 145 | 147 |
| 146 float AudioParamHandler::Value() { | 148 float AudioParamHandler::Value() { |
| 147 // Update value for timeline. | 149 // Update value for timeline. |
| 148 float v = IntrinsicValue(); | 150 float v = IntrinsicValue(); |
| 149 if (GetDeferredTaskHandler().IsAudioThread()) { | 151 if (GetDeferredTaskHandler().IsAudioThread()) { |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 return this; | 506 return this; |
| 505 } | 507 } |
| 506 | 508 |
| 507 AudioParam* AudioParam::cancelAndHoldAtTime(double start_time, | 509 AudioParam* AudioParam::cancelAndHoldAtTime(double start_time, |
| 508 ExceptionState& exception_state) { | 510 ExceptionState& exception_state) { |
| 509 Handler().Timeline().CancelAndHoldAtTime(start_time, exception_state); | 511 Handler().Timeline().CancelAndHoldAtTime(start_time, exception_state); |
| 510 return this; | 512 return this; |
| 511 } | 513 } |
| 512 | 514 |
| 513 } // namespace blink | 515 } // namespace blink |
| OLD | NEW |