From de3f9462e020ad2f4c7302ec07fa808d177cec95 Mon Sep 17 00:00:00 2001
From: 夜雨飘零 <yeyupiaoling@foxmail.com>
Date: 星期三, 18 十月 2023 16:20:35 +0800
Subject: [PATCH] change send data size (#1014)
---
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