From 52d554bde25ac3c0605bb0fa2c1c8a703c37f3b6 Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期三, 16 八月 2023 18:37:10 +0800
Subject: [PATCH] Update SDK_advanced_guide_offline.md
---
funasr/runtime/onnxruntime/bin/funasr-onnx-online-vad.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/onnxruntime/bin/funasr-onnx-online-vad.cpp b/funasr/runtime/onnxruntime/bin/funasr-onnx-online-vad.cpp
index 68e32e5..b36771d 100644
--- a/funasr/runtime/onnxruntime/bin/funasr-onnx-online-vad.cpp
+++ b/funasr/runtime/onnxruntime/bin/funasr-onnx-online-vad.cpp
@@ -159,7 +159,7 @@
char* speech_buff = audio.GetSpeechChar();
int buff_len = audio.GetSpeechLen()*2;
- int step = 3200;
+ int step = 800*2;
bool is_final = false;
for (int sample_offset = 0; sample_offset < buff_len; sample_offset += std::min(step, buff_len - sample_offset)) {
--
Gitblit v1.9.1