Skip to content

Commit

Permalink
Merge pull request #2 from hickorysb/vactivity-patch
Browse files Browse the repository at this point in the history
Fixes the VAD issues after using phone or radio. Fixes Itokoyamato#253, Fixes #1
  • Loading branch information
hickorysb authored May 4, 2021
2 parents d182612 + 226f13a commit 6d674c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ Temporary Items
.apdisk

*.VC.opendb
*.VC.db
*.VC.db

# Compiled Plugin files
*.ts3_plugin
*.dll
1 change: 1 addition & 0 deletions ts3_plugin/src/tokovoip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,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)
Expand Down

0 comments on commit 6d674c9

Please sign in to comment.