Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
index 0c74cd30c197f25cd606c8c177727f6f76af4718..d3a042180bd570570c46db49ef0741aafc689c96 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp
@@ -196,7 +196,6 @@ void ConsumerWrapper::setFormat(size_t numberOfChannels, float sampleRate)
void ConsumerWrapper::consumeAudio(AudioBus* bus, size_t numberOfFrames)
{
-#if ENABLE(WEB_AUDIO)
if (!bus)
return;
@@ -207,7 +206,6 @@ void ConsumerWrapper::consumeAudio(AudioBus* bus, size_t numberOfFrames)
busVector[i] = bus->channel(i)->data();
m_consumer->consumeAudio(busVector, numberOfFrames);
-#endif
}
void WebMediaStreamSource::addAudioConsumer(WebAudioDestinationConsumer* consumer)

Powered by Google App Engine
This is Rietveld 408576698