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

Unified Diff: media/audio/android/audio_manager_android.h

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/audio/android/audio_manager_android.h
diff --git a/media/audio/android/audio_manager_android.h b/media/audio/android/audio_manager_android.h
index ec38dcc6e895989cb942065e8c5d7eaa4452a98c..2eae6a241d11a48ed32373c53479bcee77c2a07c 100644
--- a/media/audio/android/audio_manager_android.h
+++ b/media/audio/android/audio_manager_android.h
@@ -15,7 +15,7 @@
namespace media {
-class OpenSLESOutputStream;
+class MuteableAudioOutputStream;
// Android implemention of AudioManager.
class MEDIA_EXPORT AudioManagerAndroid : public AudioManagerBase {
@@ -54,6 +54,10 @@ class MEDIA_EXPORT AudioManagerAndroid : public AudioManagerBase {
const AudioParameters& params,
const std::string& device_id,
const LogCallback& log_callback) override;
+ AudioOutputStream* MakeRawOutputStream(
+ const AudioParameters& params,
+ const std::string& device_id,
+ const LogCallback& log_callback) override;
AudioInputStream* MakeLinearInputStream(
const AudioParameters& params,
const std::string& device_id,
@@ -97,7 +101,7 @@ class MEDIA_EXPORT AudioManagerAndroid : public AudioManagerBase {
// Java AudioManager instance.
base::android::ScopedJavaGlobalRef<jobject> j_audio_manager_;
- typedef std::set<OpenSLESOutputStream*> OutputStreams;
+ typedef std::set<MuteableAudioOutputStream*> OutputStreams;
OutputStreams streams_;
// Enabled when first input stream is created and set to false when last

Powered by Google App Engine
This is Rietveld 408576698