From 5589b4a6177a0ca6836c304a152befe87f0ddd96 Mon Sep 17 00:00:00 2001
From: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Date: 星期五, 14 四月 2023 11:47:28 +0800
Subject: [PATCH] support wav_file input
---
funasr/runtime/onnxruntime/src/paraformer_onnx.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/paraformer_onnx.h b/funasr/runtime/onnxruntime/src/paraformer_onnx.h
index 99b6856..e763be2 100644
--- a/funasr/runtime/onnxruntime/src/paraformer_onnx.h
+++ b/funasr/runtime/onnxruntime/src/paraformer_onnx.h
@@ -8,6 +8,7 @@
class ModelImp : public Model {
private:
+ int fft_size=512;
float *fft_input;
fftwf_complex *fft_out;
fftwf_plan plan;
--
Gitblit v1.9.1