From 61ed60695aa98ab156ed49efa569f478e70bb8d4 Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期二, 19 九月 2023 10:09:58 +0800
Subject: [PATCH] coauthor:duj12, add itn;add timestamp、hotword to 2pass; (#966)
---
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