| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #if ENABLE(WEB_AUDIO) | 27 #if ENABLE(WEB_AUDIO) |
| 28 | 28 |
| 29 #include "modules/webaudio/MediaElementAudioSourceNode.h" | 29 #include "modules/webaudio/MediaElementAudioSourceNode.h" |
| 30 | 30 |
| 31 #include "core/html/HTMLMediaElement.h" | 31 #include "core/html/HTMLMediaElement.h" |
| 32 #include "modules/webaudio/AudioContext.h" | 32 #include "modules/webaudio/AudioContext.h" |
| 33 #include "modules/webaudio/AudioNodeOutput.h" | 33 #include "modules/webaudio/AudioNodeOutput.h" |
| 34 #include "platform/Logging.h" | 34 #include "platform/Logging.h" |
| 35 #include "platform/audio/AudioUtilities.h" | 35 #include "platform/audio/AudioUtilities.h" |
| 36 #include "platform/graphics/media/MediaPlayer.h" | |
| 37 #include "wtf/Locker.h" | 36 #include "wtf/Locker.h" |
| 38 | 37 |
| 39 namespace blink { | 38 namespace blink { |
| 40 | 39 |
| 41 MediaElementAudioSourceNode* MediaElementAudioSourceNode::create(AudioContext* c
ontext, HTMLMediaElement* mediaElement) | 40 MediaElementAudioSourceNode* MediaElementAudioSourceNode::create(AudioContext* c
ontext, HTMLMediaElement* mediaElement) |
| 42 { | 41 { |
| 43 return new MediaElementAudioSourceNode(context, mediaElement); | 42 return new MediaElementAudioSourceNode(context, mediaElement); |
| 44 } | 43 } |
| 45 | 44 |
| 46 MediaElementAudioSourceNode::MediaElementAudioSourceNode(AudioContext* context,
HTMLMediaElement* mediaElement) | 45 MediaElementAudioSourceNode::MediaElementAudioSourceNode(AudioContext* context,
HTMLMediaElement* mediaElement) |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 void MediaElementAudioSourceNode::trace(Visitor* visitor) | 149 void MediaElementAudioSourceNode::trace(Visitor* visitor) |
| 151 { | 150 { |
| 152 visitor->trace(m_mediaElement); | 151 visitor->trace(m_mediaElement); |
| 153 AudioSourceNode::trace(visitor); | 152 AudioSourceNode::trace(visitor); |
| 154 AudioSourceProviderClient::trace(visitor); | 153 AudioSourceProviderClient::trace(visitor); |
| 155 } | 154 } |
| 156 | 155 |
| 157 } // namespace blink | 156 } // namespace blink |
| 158 | 157 |
| 159 #endif // ENABLE(WEB_AUDIO) | 158 #endif // ENABLE(WEB_AUDIO) |
| OLD | NEW |