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

Unified Diff: chromecast/media/service/cast_renderer.cc

Issue 2958393002: Add a simple, safe gain PostProcessor. (Closed)
Patch Set: Unrelated cleanup Created 3 years, 5 months 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
« no previous file with comments | « chromecast/media/cma/backend/alsa/volume_map.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/service/cast_renderer.cc
diff --git a/chromecast/media/service/cast_renderer.cc b/chromecast/media/service/cast_renderer.cc
index efa97fc07a979082bdd2180549bf4b7197136427..ccc2b3f3ca03fb418ae2003d62d40e0aabbeed66 100644
--- a/chromecast/media/service/cast_renderer.cc
+++ b/chromecast/media/service/cast_renderer.cc
@@ -108,7 +108,9 @@ void CastRenderer::Initialize(::media::MediaResource* media_resource,
AudioContentType content_type;
if (audio_device_id_ == kAlarmAudioDeviceId) {
content_type = AudioContentType::kAlarm;
- } else if (audio_device_id_ == kTtsAudioDeviceId) {
+ } else if (audio_device_id_ == kTtsAudioDeviceId ||
+ audio_device_id_ ==
+ ::media::AudioDeviceDescription::kCommunicationsDeviceId) {
content_type = AudioContentType::kCommunication;
} else {
content_type = AudioContentType::kMedia;
« no previous file with comments | « chromecast/media/cma/backend/alsa/volume_map.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698