Use Resampler default constructor in VAD
Review URL: https://codereview.webrtc.org/1224693013 Cr-Commit-Position: refs/heads/master@{#9551}
This commit is contained in:
@ -28,8 +28,6 @@ const double kLowProbability = 0.01;
|
||||
|
||||
VoiceActivityDetector::VoiceActivityDetector()
|
||||
: last_voice_probability_(kDefaultVoiceValue),
|
||||
// Initialize to the most common resampling situation.
|
||||
resampler_(kMaxLength, kLength10Ms, kNumChannels),
|
||||
standalone_vad_(StandaloneVad::Create()) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user