Title: [143372] trunk/Source/Platform
Revision
143372
Author
[email protected]
Date
2013-02-19 12:36:36 -0800 (Tue, 19 Feb 2013)

Log Message

WebAudio API: Change the Platform::createAudioDevice function to take a DeviceId parameter
https://bugs.webkit.org/show_bug.cgi?id=110192

Reviewed by Adam Barth.

* chromium/public/Platform.h:
(WebKit::Platform::createAudioDevice):
(Platform):

Modified Paths

Diff

Modified: trunk/Source/Platform/ChangeLog (143371 => 143372)


--- trunk/Source/Platform/ChangeLog	2013-02-19 20:32:42 UTC (rev 143371)
+++ trunk/Source/Platform/ChangeLog	2013-02-19 20:36:36 UTC (rev 143372)
@@ -1,3 +1,14 @@
+2013-02-19  Tommy Widenflycht  <[email protected]>
+
+        WebAudio API: Change the Platform::createAudioDevice function to take a DeviceId parameter
+        https://bugs.webkit.org/show_bug.cgi?id=110192
+
+        Reviewed by Adam Barth.
+
+        * chromium/public/Platform.h:
+        (WebKit::Platform::createAudioDevice):
+        (Platform):
+
 2013-02-14  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r142841.

Modified: trunk/Source/Platform/chromium/public/Platform.h (143371 => 143372)


--- trunk/Source/Platform/chromium/public/Platform.h	2013-02-19 20:32:42 UTC (rev 143371)
+++ trunk/Source/Platform/chromium/public/Platform.h	2013-02-19 20:36:36 UTC (rev 143372)
@@ -117,10 +117,11 @@
 
     // Creates a device for audio I/O.
     // Pass in (numberOfInputChannels > 0) if live/local audio input is desired.
-    virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
+    virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*, const WebString& deviceId) { return 0; }
 
-    // FIXME: remove deprecated API once chromium switches over to new method.
+    // FIXME: remove deprecated APIs once chromium switches over to new method.
     virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
+    virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
 
 
     // Blob ----------------------------------------------------------------
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to