Index: third_party/WebKit/public/platform/Platform.h |
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
index d623c5a5d6fa57cb244877de947a0c4d7fd83b0a..807ccf7b30b859fae0ad7c88ba298ae6f9eff68c 100644 |
--- a/third_party/WebKit/public/platform/Platform.h |
+++ b/third_party/WebKit/public/platform/Platform.h |
@@ -72,6 +72,7 @@ namespace blink { |
class InterfaceProvider; |
class WebAudioBus; |
+class WebAudioLatencyHint; |
class WebBlobRegistry; |
class WebCanvasCaptureHandler; |
class WebClipboard; |
@@ -174,13 +175,13 @@ class BLINK_PLATFORM_EXPORT Platform { |
// 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*, |
- const WebString& deviceId, |
- const WebSecurityOrigin&) { |
+ virtual WebAudioDevice* createAudioDevice( |
+ unsigned numberOfInputChannels, |
+ unsigned numberOfChannels, |
+ const WebAudioLatencyHint& latencyHint, |
+ WebAudioDevice::RenderCallback*, |
+ const WebString& deviceId, |
+ const WebSecurityOrigin&) { |
return nullptr; |
} |