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

Unified Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 12457043: Android implementation of WebAudio audio file decoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: webkit/glue/webkitplatformsupport_impl.h
diff --git a/webkit/glue/webkitplatformsupport_impl.h b/webkit/glue/webkitplatformsupport_impl.h
index 0f77447f5714e54ebaf11a629fddbff841509446..6e6f8143bb4b5de331a8b79863546fbecd023c82 100644
--- a/webkit/glue/webkitplatformsupport_impl.h
+++ b/webkit/glue/webkitplatformsupport_impl.h
@@ -23,6 +23,7 @@
#include "webkit/glue/webthemeengine_impl_mac.h"
#elif defined(OS_ANDROID)
#include "webkit/glue/webthemeengine_impl_android.h"
+#include "webkit/media/audio_decoder.h"
#endif
class MessageLoop;
@@ -170,6 +171,13 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
return compositor_support_.get();
}
+#if defined(OS_ANDROID)
+ virtual webkit_media::WebAudioMediaCodecRunner
+ GetWebAudioMediaCodecRunner();
+ static void NullRunWebAudioMediaCodec(
+ base::SharedMemoryHandle encoded_data_handle,
+ base::FileDescriptor pcm_output);
+#endif
private:
void DoTimeout() {
if (shared_timer_func_ && !shared_timer_suspended_)

Powered by Google App Engine
This is Rietveld 408576698