Skip to content

Commit 5d28239

Browse files
authored
fix typo in sherpa-onnx-vad-with-online-asr.cc (#2407)
1 parent bb994c5 commit 5d28239

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <stdio.h>
1010

11+
#include <algorithm>
1112
#include <chrono> // NOLINT
1213
#include <string>
1314
#include <vector>
@@ -126,7 +127,7 @@ for a list of pre-trained models to download.
126127

127128
if (sampling_rate != 16000) {
128129
fprintf(stderr, "Resampling from %d Hz to 16000 Hz\n", sampling_rate);
129-
float min_freq = std::min(sampling_rate, 16000)
130+
float min_freq = std::min(sampling_rate, 16000);
130131
float lowpass_cutoff = 0.99 * 0.5 * min_freq;
131132

132133
int32_t lowpass_filter_width = 6;

0 commit comments

Comments
 (0)