Title: [139951] trunk/Source/WebCore
Revision
139951
Author
[email protected]
Date
2013-01-16 19:08:52 -0800 (Wed, 16 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 (139950 => 139951)


--- trunk/Source/WebCore/ChangeLog	2013-01-17 02:55:35 UTC (rev 139950)
+++ trunk/Source/WebCore/ChangeLog	2013-01-17 03:08:52 UTC (rev 139951)
@@ -1,3 +1,13 @@
+2013-01-16  Chris Rogers  <[email protected]>
+
+        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-16  Adam Barth  <[email protected]>
 
         Introduce BackgroundHTMLParser for parsing HTML on a background thread

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


--- trunk/Source/WebCore/platform/audio/chromium/AudioDestinationChromium.cpp	2013-01-17 02:55:35 UTC (rev 139950)
+++ trunk/Source/WebCore/platform/audio/chromium/AudioDestinationChromium.cpp	2013-01-17 03:08:52 UTC (rev 139951)
@@ -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
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to