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

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

Issue 2466463005: Support (E)AC3 passthrough
Patch Set: Improve CastMediaClient::IsSupportedPassthroughAudio() Created 4 years, 1 month 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 ea07cd89f986ffa3535dd39b1b6d88a57f2a1fa7..8284b82d99e4d80c7d07c5515900c96dacba33c4 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_player_bridge.h"
#include "media/base/android/media_player_listener.h"
@@ -19,6 +20,8 @@ namespace media {
static base::android::RegistrationMethod kMediaRegisteredMethods[] = {
{"AudioManagerAndroid", AudioManagerAndroid::RegisterAudioManager},
{"AudioRecordInput", AudioRecordInputStream::RegisterAudioRecordInput},
+ {"AudioTrackOutputStream",
+ AudioTrackOutputStream::RegisterAudioTrackOutputStream},
{"MediaDrmBridge", MediaDrmBridge::RegisterMediaDrmBridge},
{"MediaPlayerBridge", MediaPlayerBridge::RegisterMediaPlayerBridge},
{"MediaPlayerListener", MediaPlayerListener::RegisterMediaPlayerListener},

Powered by Google App Engine
This is Rietveld 408576698