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
This commit is contained in:
henrik.lundin@webrtc.org
2013-09-30 20:38:44 +00:00
parent 6ad6a07fd3
commit fd11bbfb56
31 changed files with 145 additions and 170 deletions

View File

@ -46,7 +46,7 @@ class PreemptiveExpand : public TimeStretch {
ReturnCodes Process(const int16_t *pw16_decoded,
int len,
int old_data_len,
AudioMultiVector<int16_t>* output,
AudioMultiVector* output,
int16_t* length_change_samples);
protected:
@ -61,7 +61,7 @@ class PreemptiveExpand : public TimeStretch {
virtual ReturnCodes CheckCriteriaAndStretch(
const int16_t *pw16_decoded, size_t len, size_t w16_bestIndex,
int16_t w16_bestCorr, bool w16_VAD,
AudioMultiVector<int16_t>* output) const;
AudioMultiVector* output) const;
private:
int old_data_length_per_channel_;