From 5bf29628007b1d6bd914b15dfc94635dc4babfb4 Mon Sep 17 00:00:00 2001 From: Ruwen Hahn Date: Tue, 6 Aug 2024 16:42:42 +0200 Subject: [PATCH] Only ever send a single chunk of audio --- src/tests/localvocal-offline-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/localvocal-offline-test.cpp b/src/tests/localvocal-offline-test.cpp index f5e39bc..c2f83fe 100644 --- a/src/tests/localvocal-offline-test.cpp +++ b/src/tests/localvocal-offline-test.cpp @@ -466,7 +466,7 @@ int wmain(int argc, wchar_t *argv[]) // sleep up to window size in case whisper is processing, so the buffer builds up similar to OBS auto now = std::chrono::system_clock::now(); - if (now > max_wait) + if (false && now > max_wait) break; auto wait_start = now + std::chrono::milliseconds(1);