| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 RefPtr<AudioBus> m_mixBus; | 69 RefPtr<AudioBus> m_mixBus; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 class MediaStreamAudioDestinationNode final : public AudioBasicInspectorNode { | 72 class MediaStreamAudioDestinationNode final : public AudioBasicInspectorNode { |
| 73 DEFINE_WRAPPERTYPEINFO(); | 73 DEFINE_WRAPPERTYPEINFO(); |
| 74 | 74 |
| 75 public: | 75 public: |
| 76 static MediaStreamAudioDestinationNode* create(BaseAudioContext&, | 76 static MediaStreamAudioDestinationNode* create(BaseAudioContext&, |
| 77 size_t numberOfChannels, | 77 size_t numberOfChannels, |
| 78 ExceptionState&); | 78 ExceptionState&); |
| 79 static MediaStreamAudioDestinationNode* create(BaseAudioContext*, |
| 80 const AudioNodeOptions&, |
| 81 ExceptionState&); |
| 82 |
| 79 MediaStream* stream() const; | 83 MediaStream* stream() const; |
| 80 | 84 |
| 81 private: | 85 private: |
| 82 MediaStreamAudioDestinationNode(BaseAudioContext&, size_t numberOfChannels); | 86 MediaStreamAudioDestinationNode(BaseAudioContext&, size_t numberOfChannels); |
| 83 }; | 87 }; |
| 84 | 88 |
| 85 } // namespace blink | 89 } // namespace blink |
| 86 | 90 |
| 87 #endif // MediaStreamAudioDestinationNode_h | 91 #endif // MediaStreamAudioDestinationNode_h |
| OLD | NEW |