OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "modules/webaudio/StereoPannerNode.h" | 5 #include "modules/webaudio/StereoPannerNode.h" |
6 | |
7 #if ENABLE(WEB_AUDIO) | |
8 #include "bindings/core/v8/ExceptionMessages.h" | 6 #include "bindings/core/v8/ExceptionMessages.h" |
9 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
10 #include "core/dom/ExceptionCode.h" | 8 #include "core/dom/ExceptionCode.h" |
11 #include "core/dom/ExecutionContext.h" | 9 #include "core/dom/ExecutionContext.h" |
12 #include "modules/webaudio/AbstractAudioContext.h" | 10 #include "modules/webaudio/AbstractAudioContext.h" |
13 #include "modules/webaudio/AudioNodeInput.h" | 11 #include "modules/webaudio/AudioNodeInput.h" |
14 #include "modules/webaudio/AudioNodeOutput.h" | 12 #include "modules/webaudio/AudioNodeOutput.h" |
15 #include "platform/audio/StereoPanner.h" | 13 #include "platform/audio/StereoPanner.h" |
16 #include "wtf/MathExtras.h" | 14 #include "wtf/MathExtras.h" |
17 | 15 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 AudioNode::trace(visitor); | 152 AudioNode::trace(visitor); |
155 } | 153 } |
156 | 154 |
157 AudioParam* StereoPannerNode::pan() const | 155 AudioParam* StereoPannerNode::pan() const |
158 { | 156 { |
159 return m_pan; | 157 return m_pan; |
160 } | 158 } |
161 | 159 |
162 } // namespace blink | 160 } // namespace blink |
163 | 161 |
164 #endif // ENABLE(WEB_AUDIO) | |
OLD | NEW |