Ensure capture_levels_ is sized correctly at init time.

Fixes failing voe_auto_test and audioproc_perf.

TBR=bjornv

Review URL: https://webrtc-codereview.appspot.com/6699004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5348 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2014-01-07 18:36:10 +00:00
parent cf9d364063
commit b6541ca3a1

View File

@ -302,6 +302,7 @@ int GainControlImpl::Initialize() {
return err;
}
capture_levels_.assign(num_handles(), analog_capture_level_);
return apm_->kNoError;
}