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

Unified Diff: webkit/glue/webkitclient_impl.cc

Issue 6002005: Implement renderer AudioDevice API for low-latency audio output... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« webkit/glue/webkitclient_impl.h ('K') | « webkit/glue/webkitclient_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkitclient_impl.cc
===================================================================
--- webkit/glue/webkitclient_impl.cc (revision 70546)
+++ webkit/glue/webkitclient_impl.cc (working copy)
@@ -37,6 +37,7 @@
#include "webkit/glue/media/audio_decoder.h"
#include "webkit/plugins/npapi/plugin_instance.h"
#include "webkit/plugins/npapi/webplugininfo.h"
+#include "webkit/glue/webaudiodevice_impl.h"
#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/websocketstreamhandle_impl.h"
#include "webkit/glue/weburlloader_impl.h"
@@ -46,6 +47,7 @@
#endif
using WebKit::WebAudioBus;
+using WebKit::WebAudioDevice;
using WebKit::WebCookie;
using WebKit::WebData;
using WebKit::WebLocalizedString;
@@ -211,6 +213,15 @@
#endif
}
+WebAudioDevice* WebKitClientImpl::createAudioDevice(
+ size_t buffer_size, unsigned channels, double sample_rate,
+ WebAudioDevice::RenderCallback* callback) {
+ return new WebAudioDeviceImpl(buffer_size,
+ channels,
+ sample_rate,
+ callback);
+}
+
WebURLLoader* WebKitClientImpl::createURLLoader() {
return new WebURLLoaderImpl();
}
« webkit/glue/webkitclient_impl.h ('K') | « webkit/glue/webkitclient_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698