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(); |
} |