commit | fd11bbfb56b42f82e18a744a414325db7a56013f | [log] [tgz] |
---|---|---|
author | henrik.lundin@webrtc.org <henrik.lundin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Mon Sep 30 20:38:44 2013 +0000 |
committer | henrik.lundin@webrtc.org <henrik.lundin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Mon Sep 30 20:38:44 2013 +0000 |
tree | 9812ba5413ce303c3526b460c50eb68db605aa83 | |
parent | 6ad6a07fd3e0279ee4018c4ecb66d3041d27392d [diff] [blame] |
NetEq4: Removing templatization for AudioMultiVector This saves approx 6% runtime for neteq4_speed_test. $ time out/Release/neteq4_speed_test --runtime_ms=50000000 BUG=1363 R=minyue@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2320006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4885 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq4/background_noise.cc b/webrtc/modules/audio_coding/neteq4/background_noise.cc index f306466..2dfb3c1 100644 --- a/webrtc/modules/audio_coding/neteq4/background_noise.cc +++ b/webrtc/modules/audio_coding/neteq4/background_noise.cc
@@ -38,7 +38,7 @@ // Keep _bgnMode as it is. } -void BackgroundNoise::Update(const AudioMultiVector<int16_t>& input, +void BackgroundNoise::Update(const AudioMultiVector& input, const PostDecodeVad& vad) { if (vad.running() && vad.active_speech()) { // Do not update the background noise parameters if we know that the signal