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

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 11958006: Switch to new createAudioDevice() API in TestWebKitPlatformSupport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.cc
===================================================================
--- webkit/support/test_webkit_platform_support.cc (revision 176961)
+++ webkit/support/test_webkit_platform_support.cc (working copy)
@@ -444,6 +444,14 @@
}
WebKit::WebAudioDevice* TestWebKitPlatformSupport::createAudioDevice(
+ size_t bufferSize, unsigned numberOfInputChannels,
+ unsigned numberOfChannels, double sampleRate,
+ WebKit::WebAudioDevice::RenderCallback*) {
+ return new WebAudioDeviceMock(sampleRate);
+}
+
+// TODO(crogers): remove once WebKit switches to new API.
+WebKit::WebAudioDevice* TestWebKitPlatformSupport::createAudioDevice(
size_t bufferSize, unsigned numberOfChannels, double sampleRate,
WebKit::WebAudioDevice::RenderCallback*) {
return new WebAudioDeviceMock(sampleRate);
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698