We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c5934 commit 0f2fe06Copy full SHA for 0f2fe06
tests/test-vad-full.cpp
@@ -3,6 +3,7 @@
3
4
#include <cassert>
5
#include <cstdio>
6
+#include <cfloat>
7
#include <string>
8
9
int main() {
@@ -26,7 +27,7 @@ int main() {
26
27
wparams.vad_threshold = 0.5f;
28
wparams.vad_min_speech_duration_ms = 250;
29
wparams.vad_min_silence_duration_ms = 100;
- wparams.vad_max_speech_duration_s = std::numeric_limits<float>::infinity();
30
+ wparams.vad_max_speech_duration_s = FLT_MAX;
31
wparams.vad_speech_pad_ms = 30;
32
wparams.vad_window_size_samples = 512;
33
0 commit comments