From c533410c922e742020d7acf9f3776eb3a890d402 Mon Sep 17 00:00:00 2001
From: zhaomingwork <zhaomingwork@qq.com>
Date: 星期二, 09 五月 2023 18:21:21 +0800
Subject: [PATCH] modified for new asr api
---
funasr/runtime/websocket/websocketclient.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/websocket/websocketclient.cpp b/funasr/runtime/websocket/websocketclient.cpp
index 9ef1d5e..3ab4e99 100644
--- a/funasr/runtime/websocket/websocketclient.cpp
+++ b/funasr/runtime/websocket/websocketclient.cpp
@@ -120,7 +120,7 @@
uint64_t count = 0;
std::stringstream val;
- Audio audio(1);
+ funasr::Audio audio(1);
int32_t sampling_rate = 16000;
if (!audio.LoadPcmwav(wav_path.c_str(), &sampling_rate)) {
--
Gitblit v1.9.1