Fix a bug in vad.reset() (#2023)

We also need to clear _last
This commit is contained in:
Fangjun Kuang
2025-03-19 17:42:05 +08:00
committed by GitHub
parent 83e944d121
commit a50901f366

View File

@@ -126,6 +126,7 @@ class VoiceActivityDetector::Impl {
model_->Reset();
buffer_.Reset();
last_.clear();
start_ = -1;
}