Ensure transient suppression is never enabled on mobile.

Review URL: https://codereview.webrtc.org/1209653002

Cr-Commit-Position: refs/heads/master@{#9500}
This commit is contained in:
andrew 2015-06-24 18:14:14 -07:00 committed by Commit bot
parent c0c3a865f4
commit 1c7075f076

View File

@ -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)
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),