From 85fc7d1bf27be4bb9fba21e8070f283135a8b67d Mon Sep 17 00:00:00 2001
From: chenmengzheAAA <123789350+chenmengzheAAA@users.noreply.github.com>
Date: 星期二, 25 七月 2023 16:58:36 +0800
Subject: [PATCH] Merge pull request #777 from alibaba-damo-academy/dev_cmz
---
funasr/runtime/onnxruntime/include/audio.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/include/audio.h b/funasr/runtime/onnxruntime/include/audio.h
index d2100a4..a1b6312 100644
--- a/funasr/runtime/onnxruntime/include/audio.h
+++ b/funasr/runtime/onnxruntime/include/audio.h
@@ -55,6 +55,9 @@
bool LoadPcmwav(const char* buf, int n_file_len, int32_t* sampling_rate);
bool LoadPcmwav(const char* filename, int32_t* sampling_rate);
bool LoadPcmwav2Char(const char* filename, int32_t* sampling_rate);
+ bool LoadOthers2Char(const char* filename);
+ bool FfmpegLoad(const char *filename);
+ bool FfmpegLoad(const char* buf, int n_file_len);
int FetchChunck(float *&dout, int len);
int Fetch(float *&dout, int &len, int &flag);
void Padding();
--
Gitblit v1.9.1