Index: webkit/media/audio_decoder.h |
diff --git a/webkit/media/audio_decoder.h b/webkit/media/audio_decoder.h |
index aae5581d13ab8112140845da4b3840ca61ff76c3..ef40c60803b329a12c0dade5743f3e2eb404e885 100644 |
--- a/webkit/media/audio_decoder.h |
+++ b/webkit/media/audio_decoder.h |
@@ -6,14 +6,28 @@ |
#define WEBKIT_MEDIA_AUDIO_DECODER_H_ |
#include "base/basictypes.h" |
+#include "base/callback_forward.h" |
+#include "base/file_descriptor_posix.h" |
+#include "base/shared_memory.h" |
namespace WebKit { class WebAudioBus; } |
namespace webkit_media { |
+#if !defined(OS_ANDROID) |
+ |
// Decode in-memory audio file data. |
bool DecodeAudioFileData(WebKit::WebAudioBus* destination_bus, const char* data, |
size_t data_size, double sample_rate); |
+#else |
+ |
+typedef base::Callback<void (base::SharedMemoryHandle, base::FileDescriptor)> |
felipeg
2013/03/29 17:18:29
Add a comment about what it is and why we need thi
|
+ WebAudioMediaCodecRunner; |
+ |
+bool DecodeAudioFileData(WebKit::WebAudioBus* destination_bus, const char* data, |
+ size_t data_size, double sample_rate, |
+ const WebAudioMediaCodecRunner& runner); |
+#endif |
} // namespace webkit_media |