From 55827a3579c636faadf1ebdb770dca20c4784ecb Mon Sep 17 00:00:00 2001
From: lyblsgo <wucong.lyb@alibaba-inc.com>
Date: 星期五, 13 十月 2023 15:27:40 +0800
Subject: [PATCH] update onnx rtf for paraformer-en
---
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