From bbda5496ffae1d9ab052e8736a8c0b080ea017f5 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 21 三月 2024 16:28:00 +0800
Subject: [PATCH] Merge branch 'main' of github.com:alibaba-damo-academy/FunASR merge

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

diff --git a/runtime/onnxruntime/src/audio.cpp b/runtime/onnxruntime/src/audio.cpp
index 9b93dc8..0135ab4 100644
--- a/runtime/onnxruntime/src/audio.cpp
+++ b/runtime/onnxruntime/src/audio.cpp
@@ -1096,7 +1096,7 @@
     delete frame;
     frame = nullptr;
 
-    int step = dest_sample_rate*10;
+    int step = dest_sample_rate*1;
     bool is_final=false;
     vector<std::vector<int>> vad_segments;
     for (int sample_offset = 0; sample_offset < speech_len; sample_offset += std::min(step, speech_len - sample_offset)) {

--
Gitblit v1.9.1