From cf3194469d4f03f1f9df442db3fb190e9a05d73f Mon Sep 17 00:00:00 2001
From: yhliang <68215459+yhliang-aslp@users.noreply.github.com>
Date: 星期三, 17 五月 2023 14:16:45 +0800
Subject: [PATCH] Merge pull request #521 from alibaba-damo-academy/main

---
 funasr/runtime/onnxruntime/src/e2e-vad.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/e2e-vad.h b/funasr/runtime/onnxruntime/src/e2e-vad.h
index 5ece1f8..a887db4 100644
--- a/funasr/runtime/onnxruntime/src/e2e-vad.h
+++ b/funasr/runtime/onnxruntime/src/e2e-vad.h
@@ -306,7 +306,7 @@
         max_end_sil_frame_cnt_thresh = max_end_sil - vad_opts.speech_to_sil_time_thres;
         this->waveform = waveform;
         this->vad_opts.max_single_segment_time = max_single_segment_time;
-        this->vad_opts.speech_noise_thres = speech_noise_thres;
+        this->speech_noise_thres = speech_noise_thres;
         this->vad_opts.sample_rate = sample_rate;
 
         ComputeDecibel();

--
Gitblit v1.9.1