diff --git a/sherpa-onnx/csrc/voice-activity-detector.cc b/sherpa-onnx/csrc/voice-activity-detector.cc index e3c8a7950..29acd70ae 100644 --- a/sherpa-onnx/csrc/voice-activity-detector.cc +++ b/sherpa-onnx/csrc/voice-activity-detector.cc @@ -123,7 +123,7 @@ class VoiceActivityDetector::Impl { return; } - int32_t end = buffer_.Tail() + int32_t end = buffer_.Tail(); if (end <= start_) { return; }