Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
index f3c4ad3860e506678b34be4e784a8ada27ae72ed..3bae974c27f776b7d77c0d3f2de88d5fd937df28 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
@@ -3452,6 +3452,11 @@ void HTMLMediaElement::resetMediaPlayerAndMediaSource() |
} |
#if ENABLE(WEB_AUDIO) |
+AudioSourceProviderClient* HTMLMediaElement::audioSourceNode() |
+{ |
+ return m_audioSourceNode; |
+} |
+ |
void HTMLMediaElement::setAudioSourceNode(AudioSourceProviderClient* sourceNode) |
{ |
ASSERT(isMainThread()); |
@@ -3661,6 +3666,11 @@ void HTMLMediaElement::AudioSourceProviderImpl::provideInput(AudioBus* bus, size |
m_webAudioSourceProvider->provideInput(webAudioData, framesToProcess); |
} |
+HTMLMediaElement::AudioClientImpl::AudioClientImpl(AudioSourceProviderClient* client) |
+ : m_client(client) |
+{ |
+} |
+ |
void HTMLMediaElement::AudioClientImpl::setFormat(size_t numberOfChannels, float sampleRate) |
{ |
if (m_client) |