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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 case ParamTypeAudioListenerForwardY: | 127 case ParamTypeAudioListenerForwardY: |
128 return "AudioListener.forwardY"; | 128 return "AudioListener.forwardY"; |
129 case ParamTypeAudioListenerForwardZ: | 129 case ParamTypeAudioListenerForwardZ: |
130 return "AudioListener.forwardZ"; | 130 return "AudioListener.forwardZ"; |
131 case ParamTypeAudioListenerUpX: | 131 case ParamTypeAudioListenerUpX: |
132 return "AudioListener.upX"; | 132 return "AudioListener.upX"; |
133 case ParamTypeAudioListenerUpY: | 133 case ParamTypeAudioListenerUpY: |
134 return "AudioListener.upY"; | 134 return "AudioListener.upY"; |
135 case ParamTypeAudioListenerUpZ: | 135 case ParamTypeAudioListenerUpZ: |
136 return "AudioListener.upZ"; | 136 return "AudioListener.upZ"; |
| 137 case ParamTypeConstantSourceValue: |
| 138 return "ConstantSource.sourceValue"; |
137 }; | 139 }; |
138 | 140 |
139 NOTREACHED(); | 141 NOTREACHED(); |
140 return "UnknownNode.unknownAudioParam"; | 142 return "UnknownNode.unknownAudioParam"; |
141 } | 143 } |
142 | 144 |
143 float AudioParamHandler::value() | 145 float AudioParamHandler::value() |
144 { | 146 { |
145 // Update value for timeline. | 147 // Update value for timeline. |
146 float v = intrinsicValue(); | 148 float v = intrinsicValue(); |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 } | 499 } |
498 | 500 |
499 AudioParam* AudioParam::cancelScheduledValues(double startTime, ExceptionState&
exceptionState) | 501 AudioParam* AudioParam::cancelScheduledValues(double startTime, ExceptionState&
exceptionState) |
500 { | 502 { |
501 handler().timeline().cancelScheduledValues(startTime, exceptionState); | 503 handler().timeline().cancelScheduledValues(startTime, exceptionState); |
502 return this; | 504 return this; |
503 } | 505 } |
504 | 506 |
505 } // namespace blink | 507 } // namespace blink |
506 | 508 |
OLD | NEW |