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

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 13084005: Add WebAudio impulse responses Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add WebAudio impulse responses Created 7 years, 9 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/glue/webkitplatformsupport_impl.h ('k') | webkit/media/android/webaudio_assets_impl_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkitplatformsupport_impl.cc
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
old mode 100644
new mode 100755
index fdadd74739f11fc5a2ee221ea662f102d30de96c..f843c100d820436c2b9303c60eefeee58a413e08
--- a/webkit/glue/webkitplatformsupport_impl.cc
+++ b/webkit/glue/webkitplatformsupport_impl.cc
@@ -56,7 +56,9 @@
#include "webkit/user_agent/user_agent.h"
#if defined(OS_ANDROID)
+#include "third_party/WebKit/Source/Platform/chromium/public/WebAudioBus.h"
#include "webkit/glue/fling_animator_impl_android.h"
+#include "webkit/media/android/webaudio_assets_impl_android.h"
#endif
using WebKit::WebAudioBus;
@@ -681,6 +683,13 @@ bool WebKitPlatformSupportImpl::loadAudioResource(
sample_rate);
}
+#if defined(OS_ANDROID)
+const char* WebKitPlatformSupportImpl::loadAudioAsset(
+ const char* audio_file_data) {
+ return webkit_media::webAudioAssetFileName(audio_file_data);
+}
+#endif
+
WebString WebKitPlatformSupportImpl::queryLocalizedString(
WebLocalizedString::Name name) {
int message_id = ToMessageID(name);
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.h ('k') | webkit/media/android/webaudio_assets_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698