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

Unified Diff: content/browser/media/media_internals.cc

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: content/browser/media/media_internals.cc
diff --git a/content/browser/media/media_internals.cc b/content/browser/media/media_internals.cc
index e53a547fcaf44159bbe8f083532cdce867677242..63692316ae39f293be2cf365153919a3bdad8f2d 100644
--- a/content/browser/media/media_internals.cc
+++ b/content/browser/media/media_internals.cc
@@ -81,6 +81,10 @@ std::string FormatToString(media::AudioParameters::Format format) {
return "pcm_linear";
case media::AudioParameters::AUDIO_PCM_LOW_LATENCY:
return "pcm_low_latency";
+ case media::AudioParameters::AUDIO_RAW_AC3:
+ return "ac3";
+ case media::AudioParameters::AUDIO_RAW_EAC3:
+ return "eac3";
case media::AudioParameters::AUDIO_FAKE:
return "fake";
}

Powered by Google App Engine
This is Rietveld 408576698