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

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

Issue 2958393002: Add a simple, safe gain PostProcessor. (Closed)
Patch Set: Move cast_audio.json filepath string to a separate file Created 3 years, 6 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
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 ||
alokp 2017/06/30 17:15:35 Can we delete kTtsAudioDeviceId now?
bshaya 2017/07/06 21:04:45 We still need different DSP treatment for TTS and
+ audio_device_id_ ==
+ ::media::AudioDeviceDescription::kCommunicationsDeviceId) {
content_type = AudioContentType::kCommunication;
} else {
content_type = AudioContentType::kMedia;

Powered by Google App Engine
This is Rietveld 408576698