Skip to content

Commit b59768b

Browse files
committed
tests : add missing default context params for VAD
1 parent fc81907 commit b59768b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test-vad.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ void assert_default_params(const struct whisper_vad_params & params) {
1919

2020
void assert_default_context_params(const struct whisper_vad_context_params & params) {
2121
assert(params.n_threads == 4);
22+
assert(params.use_gpu == true);
23+
assert(params.gpu_device == 0);
2224
}
2325

2426
struct whisper_vad_speech test_detect_speech(

0 commit comments

Comments
 (0)