From cfe22850e2a62071fca0fbdc15bb6e95ca555490 Mon Sep 17 00:00:00 2001
From: yufan-aslp <379840315@qq.com>
Date: 星期二, 25 四月 2023 15:42:03 +0800
Subject: [PATCH] update mfcc infer.sh
---
funasr/runtime/onnxruntime/src/commonfunc.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/commonfunc.h b/funasr/runtime/onnxruntime/src/commonfunc.h
index 3f3c53a..5198030 100644
--- a/funasr/runtime/onnxruntime/src/commonfunc.h
+++ b/funasr/runtime/onnxruntime/src/commonfunc.h
@@ -1,6 +1,17 @@
#pragma once
+
+
+typedef struct
+{
+ std::string msg;
+ float snippet_time;
+}FUNASR_RECOG_RESULT;
+
+
#ifdef _WIN32
#include <codecvt>
+
+
inline std::wstring string2wstring(const std::string& str, const std::string& locale)
{
@@ -42,4 +53,4 @@
}
}
-}
\ No newline at end of file
+}
--
Gitblit v1.9.1