From 268adb8c1eafb95498e91b9657ed7f66d4d71c20 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期三, 09 八月 2023 22:26:19 +0800
Subject: [PATCH] fix catch for vad

---
 funasr/runtime/websocket/funasr-wss-client-2pass.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/funasr/runtime/websocket/funasr-wss-client-2pass.cpp b/funasr/runtime/websocket/funasr-wss-client-2pass.cpp
index 48e9079..c3c3dc8 100644
--- a/funasr/runtime/websocket/funasr-wss-client-2pass.cpp
+++ b/funasr/runtime/websocket/funasr-wss-client-2pass.cpp
@@ -34,9 +34,9 @@
  */
 void WaitABit() {
     #ifdef WIN32
-        Sleep(300);
+        Sleep(500);
     #else
-        usleep(300);
+        usleep(500);
     #endif
 }
 std::atomic<int> wav_index(0);

--
Gitblit v1.9.1