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 |