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

Unified Diff: content/renderer/media/android/audio_decoder_android.h

Issue 17502007: Move webkit/renderer/media/android/ to content/renderer/media/android/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix shared lib Created 7 years, 6 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 | « content/renderer/media/android/OWNERS ('k') | content/renderer/media/android/audio_decoder_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/audio_decoder_android.h
diff --git a/content/renderer/media/android/audio_decoder_android.h b/content/renderer/media/android/audio_decoder_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..8bf5aa05bf5a44c2c1d0c9fb9ee8c5bd33776352
--- /dev/null
+++ b/content/renderer/media/android/audio_decoder_android.h
@@ -0,0 +1,31 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
+#define CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_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 content {
+
+typedef base::Callback<
+ void(base::SharedMemoryHandle, base::FileDescriptor, size_t)>
+ WebAudioMediaCodecRunner;
+
+bool DecodeAudioFileData(WebKit::WebAudioBus* destination_bus,
+ const char* data,
+ size_t data_size,
+ double sample_rate,
+ const WebAudioMediaCodecRunner& runner);
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
« no previous file with comments | « content/renderer/media/android/OWNERS ('k') | content/renderer/media/android/audio_decoder_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698