From 226f13ad921cb8e824a8eba8ab475c256ef9dbd6 Mon Sep 17 00:00:00 2001 From: Jackson Abney Date: Thu, 22 Apr 2021 23:06:40 -0800 Subject: [PATCH] Fixes the VAD issues after using phone or radio. Fixes #253, Fixes #175, Fixes #133. Also Closes #198, related fix. --- .gitignore | 6 +++++- ts3_plugin/src/tokovoip.cpp | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 72e41306..39a04bc8 100644 --- a/.gitignore +++ b/.gitignore @@ -47,4 +47,8 @@ Temporary Items .apdisk *.VC.opendb -*.VC.db \ No newline at end of file +*.VC.db + +# Compiled Plugin files +*.ts3_plugin +*.dll \ No newline at end of file diff --git a/ts3_plugin/src/tokovoip.cpp b/ts3_plugin/src/tokovoip.cpp index f31f446a..a6c9917e 100644 --- a/ts3_plugin/src/tokovoip.cpp +++ b/ts3_plugin/src/tokovoip.cpp @@ -793,6 +793,7 @@ void setClientTalking(bool status) return; } if (strcmp(vad, "true") == 0 && !isPTT) return; + if (strcmp(vad, "true") == 0) return; if (status) { if ((error = ts3Functions.setClientSelfVariableAsInt(serverId, CLIENT_INPUT_DEACTIVATED, 0)) != ERROR_ok)