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

Unified Diff: media/base/media_client.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/base/media_client.h
diff --git a/media/base/media_client.h b/media/base/media_client.h
index e3bb095a6ac83077bb5b7213fdff6b8392926600..5cf8efc59524e8dec721586a5a6f721b1e1c8e3c 100644
--- a/media/base/media_client.h
+++ b/media/base/media_client.h
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "media/base/audio_codecs.h"
#include "media/base/key_system_properties.h"
#include "media/base/media_export.h"
#include "media/base/video_codecs.h"
@@ -71,6 +72,10 @@ class MEDIA_EXPORT MediaClient {
virtual bool IsSupportedVideoConfig(VideoCodec codec,
VideoCodecProfile profile,
int level) = 0;
+
+ // Returns true if the compressed audio |codec| format is supported by the
+ // audio sink.
+ virtual bool IsSupportedPassthroughAudio(AudioCodec codec) = 0;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698