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

Unified Diff: webrtc/modules/audio_coding/acm2/audio_coding_module.cc

Issue 2397573006: Using AudioOption to enable audio network adaptor. (Closed)
Patch Set: Created 4 years, 2 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/modules/audio_coding/acm2/audio_coding_module.cc
diff --git a/webrtc/modules/audio_coding/acm2/audio_coding_module.cc b/webrtc/modules/audio_coding/acm2/audio_coding_module.cc
index 99b539ab6440745769efcd58606f9fc6823cf4ca..43216d2d43724d8d27dd19ffb454ade59c40e4d4 100644
--- a/webrtc/modules/audio_coding/acm2/audio_coding_module.cc
+++ b/webrtc/modules/audio_coding/acm2/audio_coding_module.cc
@@ -1268,7 +1268,10 @@ void AudioCodingModuleImpl::GetDecodingCallStatistics(
} // namespace
AudioCodingModule::Config::Config()
- : id(0), neteq_config(), clock(Clock::GetRealTimeClock()) {
+ : id(0),
+ neteq_config(),
+ audio_network_adaptor_enabled(false),
+ clock(Clock::GetRealTimeClock()) {
// Post-decode VAD is disabled by default in NetEq, however, Audio
// Conference Mixer relies on VAD decisions and fails without them.
neteq_config.enable_post_decode_vad = true;

Powered by Google App Engine
This is Rietveld 408576698