Add stub implementation for MediaStreamAudioSourceNode
authorcrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jul 2012 22:07:20 +0000 (22:07 +0000)
committercrogers@google.com <crogers@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jul 2012 22:07:20 +0000 (22:07 +0000)
commit24cf612c0a451acf77cc8866e59dee3105942308
tree3321602f53361eac875504f0d60c56ed90a7b6b5
parentc366599d672632957c0a82dfc80288795926aefb
Add stub implementation for MediaStreamAudioSourceNode
https://bugs.webkit.org/show_bug.cgi?id=90110

Reviewed by Kenneth Russell.

Source/WebCore:

Test: webaudio/mediastreamaudiosourcenode.html

* CMakeLists.txt:
* DerivedSources.make:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.xcodeproj/project.pbxproj:
Add MediaStreamAudioSourceNode files to make files.

* Modules/webaudio/AudioContext.cpp:
* Modules/webaudio/AudioContext.h:
* Modules/webaudio/AudioContext.idl:
(WebCore::AudioContext::createMediaStreamSource):
Add new createMediaStreamSource() method.

* Modules/webaudio/AudioNode.h:
Add NodeTypeMediaStreamAudioSource.

* Modules/webaudio/MediaStreamAudioSourceNode.cpp: Added.
* Modules/webaudio/MediaStreamAudioSourceNode.h: Added.
(WebCore::MediaStreamAudioSourceNode::create):
(WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode):
(WebCore::MediaStreamAudioSourceNode::~MediaStreamAudioSourceNode):
(WebCore::MediaStreamAudioSourceNode::setFormat):
(WebCore::MediaStreamAudioSourceNode::process):
(WebCore::MediaStreamAudioSourceNode::reset):
(WebCore::MediaStreamAudioSourceNode::mediaStream):
(WebCore::MediaStreamAudioSourceNode::audioSourceProvider):
Basic MediaStreamAudioSourceNode implementation.

* Modules/webaudio/MediaStreamAudioSourceNode.idl: Added.

LayoutTests:

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/webaudio/mediastreamaudiosourcenode-expected.txt [new file with mode: 0644]
LayoutTests/webaudio/mediastreamaudiosourcenode.html [new file with mode: 0644]
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Modules/webaudio/AudioContext.cpp
Source/WebCore/Modules/webaudio/AudioContext.h
Source/WebCore/Modules/webaudio/AudioContext.idl
Source/WebCore/Modules/webaudio/AudioNode.h
Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.cpp [new file with mode: 0644]
Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.h [new file with mode: 0644]
Source/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl [new file with mode: 0644]
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.xcodeproj/project.pbxproj