diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-08-26 07:44:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 07:44:40 +0000 |
commit | 97240237585db9abac22eb214f1865694706af1e (patch) | |
tree | 46384ad17c988d679b4137805a3dbc9212a50629 /src/settings.cpp | |
parent | eea5987f379cd76786ace382da09dd687ecca28a (diff) | |
parent | daacad489a4cd2a080c8bb811d9c8fb26c80b7cb (diff) | |
download | abaddon-portaudio-97240237585db9abac22eb214f1865694706af1e.tar.gz abaddon-portaudio-97240237585db9abac22eb214f1865694706af1e.zip |
Merge pull request #195 from uowuo/rnnoise
Use rnnoise for VAD
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 0b868da..601205a 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -4,7 +4,7 @@ #include <glibmm/miscutils.h> #ifdef WITH_KEYCHAIN - #include <keychain/keychain.h> +#include <keychain/keychain.h> #endif const std::string KeychainPackage = "com.github.uowuo.abaddon"; @@ -70,6 +70,7 @@ void SettingsManager::ReadSettings() { SMSTR("style", "unreadcolor", UnreadIndicatorColor); SMBOOL("notifications", "enabled", NotificationsEnabled); SMBOOL("notifications", "playsound", NotificationsPlaySound); + SMSTR("voice", "vad", VAD); SMBOOL("windows", "hideconsole", HideConsole); #ifdef WITH_KEYCHAIN @@ -154,6 +155,7 @@ void SettingsManager::Close() { SMSTR("style", "unreadcolor", UnreadIndicatorColor); SMBOOL("notifications", "enabled", NotificationsEnabled); SMBOOL("notifications", "playsound", NotificationsPlaySound); + SMSTR("voice", "vad", VAD); SMBOOL("windows", "hideconsole", HideConsole); #ifdef WITH_KEYCHAIN |