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

Unified Diff: webrtc/media/engine/webrtcvoiceengine.cc

Issue 1952123003: Surface the IntelligibilityEnhancer on MediaConstraints (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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: webrtc/media/engine/webrtcvoiceengine.cc
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc
index ed67ce84ba00cc520872b1a17e0ea8bdbb579160..4fcb200507e5072fd81ea7022f3b59c07f98aecc 100644
--- a/webrtc/media/engine/webrtcvoiceengine.cc
+++ b/webrtc/media/engine/webrtcvoiceengine.cc
@@ -843,6 +843,12 @@ bool WebRtcVoiceEngine::ApplyOptions(const AudioOptions& options_in) {
new webrtc::ExperimentalNs(*experimental_ns_));
}
+ const bool intelligibility_enhancer = adm()->IntelligibilityIsEnabled();
the sun 2016/05/06 09:00:15 Is the idea to pass the option to enable IE via th
aluebs-webrtc 2016/05/06 16:27:10 Because I was pointed to the WebRtcAudioUtils API
+ LOG(LS_INFO) << "Intelligibility Enhancer is enabled? "
+ << intelligibility_enhancer;
+ config.Set<webrtc::Intelligibility>(
+ new webrtc::Intelligibility(intelligibility_enhancer));
+
// We check audioproc for the benefit of tests, since FakeWebRtcVoiceEngine
// returns NULL on audio_processing().
webrtc::AudioProcessing* audioproc = voe_wrapper_->base()->audio_processing();

Powered by Google App Engine
This is Rietveld 408576698