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 13 matching lines...) Expand all Loading... |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 #if ENABLE(WEB_AUDIO) | 26 #if ENABLE(WEB_AUDIO) |
27 #include "modules/webaudio/MediaElementAudioSourceNode.h" | 27 #include "modules/webaudio/MediaElementAudioSourceNode.h" |
28 | 28 |
29 #include "core/html/HTMLMediaElement.h" | 29 #include "core/html/HTMLMediaElement.h" |
30 #include "modules/webaudio/AudioContext.h" | 30 #include "modules/webaudio/AudioContext.h" |
31 #include "modules/webaudio/AudioNodeOutput.h" | 31 #include "modules/webaudio/AudioNodeOutput.h" |
32 #include "platform/Logging.h" | 32 #include "platform/Logging.h" |
33 #include "platform/audio/AudioUtilities.h" | 33 #include "platform/audio/AudioUtilities.h" |
34 #include "platform/graphics/media/MediaPlayer.h" | |
35 #include "platform/weborigin/SecurityOrigin.h" | 34 #include "platform/weborigin/SecurityOrigin.h" |
36 #include "wtf/Locker.h" | 35 #include "wtf/Locker.h" |
37 | 36 |
38 namespace blink { | 37 namespace blink { |
39 | 38 |
40 MediaElementAudioSourceNode* MediaElementAudioSourceNode::create(AudioContext* c
ontext, HTMLMediaElement* mediaElement) | 39 MediaElementAudioSourceNode* MediaElementAudioSourceNode::create(AudioContext* c
ontext, HTMLMediaElement* mediaElement) |
41 { | 40 { |
42 return new MediaElementAudioSourceNode(context, mediaElement); | 41 return new MediaElementAudioSourceNode(context, mediaElement); |
43 } | 42 } |
44 | 43 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 DEFINE_TRACE(MediaElementAudioSourceNode) | 162 DEFINE_TRACE(MediaElementAudioSourceNode) |
164 { | 163 { |
165 visitor->trace(m_mediaElement); | 164 visitor->trace(m_mediaElement); |
166 AudioSourceNode::trace(visitor); | 165 AudioSourceNode::trace(visitor); |
167 AudioSourceProviderClient::trace(visitor); | 166 AudioSourceProviderClient::trace(visitor); |
168 } | 167 } |
169 | 168 |
170 } // namespace blink | 169 } // namespace blink |
171 | 170 |
172 #endif // ENABLE(WEB_AUDIO) | 171 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |