Skip to content

Commit 0036b61

Browse files
committed
fix typo
1 parent b5c4e82 commit 0036b61

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmake/cmake_extension.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def get_binaries():
6868
"sherpa-onnx-vad-microphone",
6969
"sherpa-onnx-vad-microphone-offline-asr",
7070
"sherpa-onnx-vad-with-offline-asr",
71+
"sherpa-onnx-vad-with-online-asr",
7172
"sherpa-onnx-version",
7273
]
7374

sherpa-onnx/csrc/sherpa-onnx-vad-with-online-asr.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ for a list of pre-trained models to download.
126126

127127
if (sampling_rate != 16000) {
128128
fprintf(stderr, "Resampling from %d Hz to 16000 Hz\n", sampling_rate);
129-
float min_freq = std::min<int32_t>(sampling_rate, 16000);
129+
float min_freq = std::min(sampling_rate, 16000)
130130
float lowpass_cutoff = 0.99 * 0.5 * min_freq;
131131

132132
int32_t lowpass_filter_width = 6;

0 commit comments

Comments
 (0)