From ba7f1a74390da7117705b06414fd34d21555911a Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Mon, 9 Sep 2024 10:29:31 +0800 Subject: [PATCH] Fix building (#1331) --- sherpa-onnx/csrc/voice-activity-detector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }