| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ConstantSourceNode_h | 5 #ifndef ConstantSourceNode_h |
| 6 #define ConstantSourceNode_h | 6 #define ConstantSourceNode_h |
| 7 | 7 |
| 8 #include "modules/webaudio/AudioParam.h" | 8 #include "modules/webaudio/AudioParam.h" |
| 9 #include "modules/webaudio/AudioScheduledSourceNode.h" | 9 #include "modules/webaudio/AudioScheduledSourceNode.h" |
| 10 #include "platform/audio/AudioBus.h" | 10 #include "platform/audio/AudioBus.h" |
| 11 #include "wtf/PassRefPtr.h" | 11 #include "platform/wtf/PassRefPtr.h" |
| 12 #include "wtf/RefPtr.h" | 12 #include "platform/wtf/RefPtr.h" |
| 13 #include "wtf/Threading.h" | 13 #include "platform/wtf/Threading.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class BaseAudioContext; | 17 class BaseAudioContext; |
| 18 class ConstantSourceOptions; | 18 class ConstantSourceOptions; |
| 19 class ExceptionState; | 19 class ExceptionState; |
| 20 | 20 |
| 21 // ConstantSourceNode is an audio generator for a constant source | 21 // ConstantSourceNode is an audio generator for a constant source |
| 22 | 22 |
| 23 class ConstantSourceHandler final : public AudioScheduledSourceHandler { | 23 class ConstantSourceHandler final : public AudioScheduledSourceHandler { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 private: | 57 private: |
| 58 ConstantSourceNode(BaseAudioContext&); | 58 ConstantSourceNode(BaseAudioContext&); |
| 59 ConstantSourceHandler& GetConstantSourceHandler() const; | 59 ConstantSourceHandler& GetConstantSourceHandler() const; |
| 60 | 60 |
| 61 Member<AudioParam> offset_; | 61 Member<AudioParam> offset_; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace blink | 64 } // namespace blink |
| 65 | 65 |
| 66 #endif // ConstantSourceNode_h | 66 #endif // ConstantSourceNode_h |
| OLD | NEW |