From c5256211d6f45eb943b203d16da7439d42abe885 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 16 十月 2023 12:36:02 +0800
Subject: [PATCH] update funasr-wss-server.cpp
---
funasr/runtime/onnxruntime/include/audio.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/include/audio.h b/funasr/runtime/onnxruntime/include/audio.h
index 77a0021..34fcbaf 100644
--- a/funasr/runtime/onnxruntime/include/audio.h
+++ b/funasr/runtime/onnxruntime/include/audio.h
@@ -36,6 +36,8 @@
bool is_final = false;
float* data = nullptr;
int len;
+ int global_start = 0; // the start of a frame in the global time axis. in ms
+ int global_end = 0; // the end of a frame in the global time axis. in ms
};
class Audio {
--
Gitblit v1.9.1