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

Unified Diff: media/base/audio_codecs.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/audio_codecs.h
diff --git a/media/base/audio_codecs.h b/media/base/audio_codecs.h
index 1219d7acf24e5f3aab09f63860229d5e7c94692d..db4e0127261289397d3c69f70bbc39a499fe6fe5 100644
--- a/media/base/audio_codecs.h
+++ b/media/base/audio_codecs.h
@@ -32,13 +32,14 @@ enum AudioCodec {
kCodecPCM_ALAW = 14,
kCodecALAC = 15,
kCodecAC3 = 16,
+ kCodecRaw = 17,
DaleCurtis 2016/11/01 23:05:13 I don't think this is quite what we want. The corr
AndyWu 2016/11/04 18:04:24 Let's focus on encrypted case first, since that's
DaleCurtis 2016/11/04 21:17:33 I think whether Raw is used or not needs to be par
AndyWu 2016/11/08 00:04:21 OK, done. I will create a separate CL for review.
// DO NOT ADD RANDOM AUDIO CODECS!
//
// The only acceptable time to add a new codec is if there is production code
// that uses said codec in the same CL.
// Must always be equal to the largest entry ever logged.
- kAudioCodecMax = kCodecAC3,
+ kAudioCodecMax = kCodecRaw,
};
std::string MEDIA_EXPORT GetCodecName(AudioCodec codec);

Powered by Google App Engine
This is Rietveld 408576698