From a6a9d29bbda05fce915957e58e87c9bfd4a22730 Mon Sep 17 00:00:00 2001
From: BOBOTANG <tzfjobmail@gmail.com>
Date: 星期五, 22 三月 2024 19:10:44 +0800
Subject: [PATCH] Expose the max_end_silence_time to the user (#1532)

---
 runtime/onnxruntime/src/funasrruntime.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/onnxruntime/src/funasrruntime.cpp b/runtime/onnxruntime/src/funasrruntime.cpp
index 0ca4ded..4bc64af 100644
--- a/runtime/onnxruntime/src/funasrruntime.cpp
+++ b/runtime/onnxruntime/src/funasrruntime.cpp
@@ -245,7 +245,7 @@
             return p_result;
         }
 		if(offline_stream->UseVad()){
-			audio.Split(offline_stream);
+			audio.CutSplit(offline_stream);
 		}
 
 		float* buff;
@@ -343,7 +343,7 @@
             return p_result;
         }
 		if(offline_stream->UseVad()){
-			audio.Split(offline_stream);
+			audio.CutSplit(offline_stream);
 		}
 
 		float* buff;

--
Gitblit v1.9.1