From 55ee71e8959173e7979cbce5cb0aaf0983a48296 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期日, 20 八月 2023 14:18:52 +0800
Subject: [PATCH] add wav format for h5 and java (#875)

---
 funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp b/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp
index 85d6f03..83eb742 100644
--- a/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp
+++ b/funasr/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp
@@ -63,7 +63,10 @@
         if(result){
             string msg = FunASRGetResult(result, 0);
             LOG(INFO) << "Thread: " << this_thread::get_id() << "," << wav_ids[i] << " : " << msg;
-
+            string stamp = FunASRGetStamp(result);
+            if(stamp !=""){
+                LOG(INFO) << "Thread: " << this_thread::get_id() << "," << wav_ids[i] << " : " << stamp;
+            }
             float snippet_time = FunASRGetRetSnippetTime(result);
             n_total_length += snippet_time;
             FunASRFreeResult(result);

--
Gitblit v1.9.1