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 #ifndef StereoPannerNode_h | 5 #ifndef StereoPannerNode_h |
6 #define StereoPannerNode_h | 6 #define StereoPannerNode_h |
7 | 7 |
| 8 #include <memory> |
8 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
9 #include "modules/webaudio/AudioNode.h" | 10 #include "modules/webaudio/AudioNode.h" |
10 #include "modules/webaudio/AudioParam.h" | 11 #include "modules/webaudio/AudioParam.h" |
11 #include "platform/audio/AudioBus.h" | 12 #include "platform/audio/AudioBus.h" |
12 #include "platform/audio/StereoPanner.h" | 13 #include "platform/audio/StereoPanner.h" |
13 #include <memory> | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class BaseAudioContext; | 17 class BaseAudioContext; |
18 class StereoPannerOptions; | 18 class StereoPannerOptions; |
19 | 19 |
20 // StereoPannerNode is an AudioNode with one input and one output. It is | 20 // StereoPannerNode is an AudioNode with one input and one output. It is |
21 // specifically designed for equal-power stereo panning. | 21 // specifically designed for equal-power stereo panning. |
22 class StereoPannerHandler final : public AudioHandler { | 22 class StereoPannerHandler final : public AudioHandler { |
23 public: | 23 public: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 private: | 59 private: |
60 StereoPannerNode(BaseAudioContext&); | 60 StereoPannerNode(BaseAudioContext&); |
61 | 61 |
62 Member<AudioParam> m_pan; | 62 Member<AudioParam> m_pan; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace blink | 65 } // namespace blink |
66 | 66 |
67 #endif // StereoPannerNode_h | 67 #endif // StereoPannerNode_h |
OLD | NEW |