| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
| 23 * DAMAGE. | 23 * DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef MediaStreamAudioDestinationNode_h | 26 #ifndef MediaStreamAudioDestinationNode_h |
| 27 #define MediaStreamAudioDestinationNode_h | 27 #define MediaStreamAudioDestinationNode_h |
| 28 | 28 |
| 29 #include "modules/mediastream/MediaStream.h" | 29 #include "modules/mediastream/MediaStream.h" |
| 30 #include "modules/webaudio/AudioBasicInspectorNode.h" | 30 #include "modules/webaudio/AudioBasicInspectorNode.h" |
| 31 #include "platform/audio/AudioBus.h" | 31 #include "platform/audio/AudioBus.h" |
| 32 #include "wtf/PassRefPtr.h" | 32 #include "platform/wtf/PassRefPtr.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class BaseAudioContext; | 36 class BaseAudioContext; |
| 37 | 37 |
| 38 class MediaStreamAudioDestinationHandler final | 38 class MediaStreamAudioDestinationHandler final |
| 39 : public AudioBasicInspectorHandler { | 39 : public AudioBasicInspectorHandler { |
| 40 public: | 40 public: |
| 41 static PassRefPtr<MediaStreamAudioDestinationHandler> Create( | 41 static PassRefPtr<MediaStreamAudioDestinationHandler> Create( |
| 42 AudioNode&, | 42 AudioNode&, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 MediaStream* stream() const; | 86 MediaStream* stream() const; |
| 87 | 87 |
| 88 private: | 88 private: |
| 89 MediaStreamAudioDestinationNode(BaseAudioContext&, size_t number_of_channels); | 89 MediaStreamAudioDestinationNode(BaseAudioContext&, size_t number_of_channels); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace blink | 92 } // namespace blink |
| 93 | 93 |
| 94 #endif // MediaStreamAudioDestinationNode_h | 94 #endif // MediaStreamAudioDestinationNode_h |
| OLD | NEW |