Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
infinite42
2025-07-17 09:23:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-07-17 09:23:05 +0800
Commit
5d28239c474f2e7e51138554cfc92164c2991417
5d28239c
1 parent
bb994c5f
fix typo in sherpa-onnx-vad-with-online-asr.cc (#2407)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
sherpa-onnx/csrc/sherpa-onnx-vad-with-online-asr.cc
sherpa-onnx/csrc/sherpa-onnx-vad-with-online-asr.cc
查看文件 @
5d28239
...
...
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <algorithm>
#include <chrono> // NOLINT
#include <string>
#include <vector>
...
...
@@ -126,7 +127,7 @@ for a list of pre-trained models to download.
if
(
sampling_rate
!=
16000
)
{
fprintf
(
stderr
,
"Resampling from %d Hz to 16000 Hz
\n
"
,
sampling_rate
);
float
min_freq
=
std
::
min
(
sampling_rate
,
16000
)
float
min_freq
=
std
::
min
(
sampling_rate
,
16000
)
;
float
lowpass_cutoff
=
0.99
*
0.5
*
min_freq
;
int32_t
lowpass_filter_width
=
6
;
...
...
请
注册
或
登录
后发表评论