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

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, 8 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 b757f94fe2b20d68af3af1ceb329871df5a8b1a2..d3aefd475cff5d9dadc049c5a423571f15918414 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
namespace base {
@@ -172,6 +173,13 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
return compositor_support_.get();
}
+#if defined(OS_ANDROID)
+ virtual webkit_media::WebAudioMediaCodecRunner
+ GetWebAudioMediaCodecRunner();
+ static void NullRunWebAudioMediaCodec(
qinmin 2013/04/12 14:43:08 you don't need a static member function here. You
+ 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