Title: [139678] trunk/Source/WebCore
Revision
139678
Author
crog...@google.com
Date
2013-01-14 15:49:56 -0800 (Mon, 14 Jan 2013)

Log Message

Switch AudioDestinationChromium over to new createAudioDevice() method
https://bugs.webkit.org/show_bug.cgi?id=106816

Reviewed by James Robinson.

* platform/audio/chromium/AudioDestinationChromium.cpp:
(WebCore::AudioDestinationChromium::AudioDestinationChromium):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (139677 => 139678)


--- trunk/Source/WebCore/ChangeLog	2013-01-14 23:49:00 UTC (rev 139677)
+++ trunk/Source/WebCore/ChangeLog	2013-01-14 23:49:56 UTC (rev 139678)
@@ -1,3 +1,13 @@
+2013-01-14  Chris Rogers  <crog...@google.com>
+
+        Switch AudioDestinationChromium over to new createAudioDevice() method
+        https://bugs.webkit.org/show_bug.cgi?id=106816
+
+        Reviewed by James Robinson.
+
+        * platform/audio/chromium/AudioDestinationChromium.cpp:
+        (WebCore::AudioDestinationChromium::AudioDestinationChromium):
+
 2013-01-14  Huang Dongsung  <luxte...@company100.net>
 
         [TexMap] Use a premuliplied color in TextureMapperGL.

Modified: trunk/Source/WebCore/platform/audio/chromium/AudioDestinationChromium.cpp (139677 => 139678)


--- trunk/Source/WebCore/platform/audio/chromium/AudioDestinationChromium.cpp	2013-01-14 23:49:00 UTC (rev 139677)
+++ trunk/Source/WebCore/platform/audio/chromium/AudioDestinationChromium.cpp	2013-01-14 23:49:56 UTC (rev 139678)
@@ -66,8 +66,7 @@
     if (m_callbackBufferSize + renderBufferSize > fifoSize)
         return;
 
-    // FIXME: switch to new API (with input channels) once chromium supports it.
-    m_audioDevice = adoptPtr(WebKit::Platform::current()->createAudioDevice(m_callbackBufferSize, numberOfOutputChannels, sampleRate, this));
+    m_audioDevice = adoptPtr(WebKit::Platform::current()->createAudioDevice(m_callbackBufferSize, numberOfInputChannels, numberOfOutputChannels, sampleRate, this));
     ASSERT(m_audioDevice);
 
     // Create a FIFO to handle the possibility of the callback size
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to