zhuzizyf
2023-05-15 9f2e5f058ec9a080ed64f9c951f36bbe93f25ede
Update e2e-vad.h

Fix speech noise threshold setting bug.
1个文件已修改
2 ■■■ 已修改文件
funasr/runtime/onnxruntime/src/e2e-vad.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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();