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:
parent
b8b0143a11
commit
cbd44e6d73
@ -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()) {
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user