From 60e3f733241a5524610450adee897c6aca02da42 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 23 Jul 2023 01:01:45 -0400 Subject: make vad method a setting and tie it to combobox --- src/settings.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/settings.hpp') diff --git a/src/settings.hpp b/src/settings.hpp index 40cb1d3..0d2e68b 100644 --- a/src/settings.hpp +++ b/src/settings.hpp @@ -53,6 +53,13 @@ public: #endif bool NotificationsPlaySound { true }; + // [voice] +#ifdef WITH_RNNOISE + std::string VAD { "rnnoise" }; +#else + std::string VAD { "gate" }; +#endif + // [windows] bool HideConsole { false }; }; -- cgit v1.2.3