Index: media/base/media_client.h |
diff --git a/media/base/media_client.h b/media/base/media_client.h |
index 0ebafd3ac3ad88f0dd15dec2b32f020b614b75c8..0b1bd6b5c1c4fad36e1d20f0002b68e2a8d9a0a3 100644 |
--- a/media/base/media_client.h |
+++ b/media/base/media_client.h |
@@ -9,6 +9,7 @@ |
#include <string> |
#include <vector> |
+#include "media/base/audio_codecs.h" |
#include "media/base/decode_capabilities.h" |
#include "media/base/key_system_properties.h" |
#include "media/base/media_export.h" |
@@ -52,6 +53,10 @@ class MEDIA_EXPORT MediaClient { |
// Returns true if the given video config is supported. |
virtual bool IsSupportedVideoConfig(const VideoConfig& config) = 0; |
+ |
+ // Returns true if the compressed audio |codec| format is supported by the |
+ // audio sink. |
+ virtual bool IsSupportedBitstreamAudioCodec(AudioCodec codec) = 0; |
}; |
} // namespace media |