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/dsp_helper.h b/webrtc/modules/audio_coding/neteq4/dsp_helper.h index 9df6fd3..60cd995 100644 --- a/webrtc/modules/audio_coding/neteq4/dsp_helper.h +++ b/webrtc/modules/audio_coding/neteq4/dsp_helper.h
@@ -67,7 +67,7 @@ // Same as above, but processes |length| samples from |signal|, starting at // |start_index|. - static int RampSignal(AudioMultiVector<int16_t>* signal, + static int RampSignal(AudioMultiVector* signal, size_t start_index, size_t length, int factor,