Add shell implementation for Web Audio API's MediaElementAudioSourceNode
authorcrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Aug 2011 19:37:22 +0000 (19:37 +0000)
committercrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Aug 2011 19:37:22 +0000 (19:37 +0000)
commit4867df4cb294db2ebcab2bc0f4bf264fc5ee6d8f
treef4f10611c42eaf3d1e47e83b6dc4dbaf77cdd60b
parent99a451a5a4dd5163932cb2e81fe6fc519547a83a
Add shell implementation for Web Audio API's MediaElementAudioSourceNode
https://bugs.webkit.org/show_bug.cgi?id=66175

Reviewed by Kenneth Russell.

Source/WebCore:

Test: webaudio/mediaelementaudiosourcenode.html

* DerivedSources.make:
* WebCore.gypi:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLMediaElement.idl:
* webaudio/AudioContext.cpp:
(WebCore::AudioContext::createMediaElementSource):
* webaudio/AudioContext.h:
* webaudio/AudioContext.idl:
* webaudio/AudioNode.h:
* webaudio/MediaElementAudioSourceNode.cpp: Added.
(WebCore::MediaElementAudioSourceNode::create):
(WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
(WebCore::MediaElementAudioSourceNode::process):
(WebCore::MediaElementAudioSourceNode::reset):
* webaudio/MediaElementAudioSourceNode.h: Added.
(WebCore::MediaElementAudioSourceNode::mediaElement):
* webaudio/MediaElementAudioSourceNode.idl: Added.

LayoutTests:

* webaudio/mediaelementaudiosourcenode-expected.txt: Added.
* webaudio/mediaelementaudiosourcenode.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
LayoutTests/ChangeLog
LayoutTests/webaudio/mediaelementaudiosourcenode-expected.txt [new file with mode: 0644]
LayoutTests/webaudio/mediaelementaudiosourcenode.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/html/HTMLMediaElement.idl
Source/WebCore/webaudio/AudioContext.cpp
Source/WebCore/webaudio/AudioContext.h
Source/WebCore/webaudio/AudioContext.idl
Source/WebCore/webaudio/AudioNode.h
Source/WebCore/webaudio/MediaElementAudioSourceNode.cpp [new file with mode: 0644]
Source/WebCore/webaudio/MediaElementAudioSourceNode.h [new file with mode: 0644]
Source/WebCore/webaudio/MediaElementAudioSourceNode.idl [new file with mode: 0644]