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

Unified Diff: webrtc/modules/audio_processing/audio_processing_impl.cc

Issue 1209653002: Ensure transient suppression is never enabled on mobile. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/audio_processing_impl.cc
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc
index aed63412dfeed8c5a4c01c5177583c40ceddbc44..3813a9aca84658dd18ae32427cdbd578d6712561 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.cc
+++ b/webrtc/modules/audio_processing/audio_processing_impl.cc
@@ -178,7 +178,11 @@ AudioProcessingImpl::AudioProcessingImpl(const Config& config,
use_new_agc_(config.Get<ExperimentalAgc>().enabled),
#endif
agc_startup_min_volume_(config.Get<ExperimentalAgc>().startup_min_volume),
+#if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
aluebs-webrtc 2015/06/24 17:25:43 Do we want to put this in the same ifdef than the
Andrew MacDonald 2015/06/24 17:51:47 We could, but it would constrain the order of memb
aluebs-webrtc 2015/06/24 17:54:00 I am ok with leaving it this way, but do whatever
+ transient_suppressor_enabled_(false),
+#else
transient_suppressor_enabled_(config.Get<ExperimentalNs>().enabled),
+#endif
beamformer_enabled_(config.Get<Beamforming>().enabled),
beamformer_(beamformer),
array_geometry_(config.Get<Beamforming>().array_geometry),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698