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

Unified Diff: media/base/android/media_jni_registrar.cc

Issue 2466463005: Support (E)AC3 passthrough
Patch Set: Add unit tests Created 3 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
Index: media/base/android/media_jni_registrar.cc
diff --git a/media/base/android/media_jni_registrar.cc b/media/base/android/media_jni_registrar.cc
index 69229830d604437fdac48fa6f199d45b20fa1ed4..cd214a9be09377d88c1f8c62a3b52cf5093bdaa7 100644
--- a/media/base/android/media_jni_registrar.cc
+++ b/media/base/android/media_jni_registrar.cc
@@ -10,6 +10,7 @@
#include "media/audio/android/audio_manager_android.h"
#include "media/audio/android/audio_record_input.h"
+#include "media/audio/android/audio_track_output_stream.h"
#include "media/base/android/media_drm_bridge.h"
#include "media/base/android/media_drm_storage_bridge.h"
#include "media/base/android/media_player_bridge.h"
@@ -21,6 +22,8 @@ namespace media {
static base::android::RegistrationMethod kMediaRegisteredMethods[] = {
{"AudioManagerAndroid", AudioManagerAndroid::RegisterAudioManager},
{"AudioRecordInput", AudioRecordInputStream::RegisterAudioRecordInput},
+ {"AudioTrackOutputStream",
+ AudioTrackOutputStream::RegisterAudioTrackOutputStream},
{"MediaDrmBridge", MediaDrmBridge::RegisterMediaDrmBridge},
{"MediaDrmStorageBridge",
MediaDrmStorageBridge::RegisterMediaDrmStorageBridge},

Powered by Google App Engine
This is Rietveld 408576698