Results 1 to 2 of 2
Thread: push to talk problem
-
01-04-2010, 17:38 #1
-= TeamSpeak User =-
- Join Date
- Mar 2010
- Location
- china
- Posts
- 1
push to talk problem
I use SDK beta3 and has imlemented my push to talk function according to the client.pdf.The function can work for a while,But when I push the key up and down to switch INPUT_ACTIVE : INPUT_DEACTIVATED, the function will crash.Any tips will be appreciated!
The code:
BOOL bTalk = myKeyboardInputImlement();
unsigned int error;
if((error = ts3client_setClientSelfVariableAsInt(serverConnect ionHandlerID, CLIENT_INPUT_DEACTIVATED,
bTalk ? INPUT_ACTIVE : INPUT_DEACTIVATED))
!= ERROR_ok) {
char* errorMsg;
if(ts3client_getErrorMessage(error, &errorMsg) != ERROR_ok) {
printf("Error toggling push-to-talk: %s\n", errorMsg);
ts3client_freeMemory(errorMsg);
}
return;
}
if(ts3client_flushClientSelfUpdates(serverConnecti onHandlerID) != ERROR_ok)
{
char* errorMsg;
if(ts3client_getErrorMessage(error, &errorMsg) != ERROR_ok)
{
printf("Error flushing after toggling push-to-talk: %s\n", errorMsg);
ts3client_freeMemory(errorMsg);
}
}
-
04-04-2010, 10:40 #2
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Italy
- Posts
- 22
Error messages???
have you use DX for key event or windows api?
Or take the post routine qith the comunications with server, there is a flood system protection that crashs the apps.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Push to talk problem
By Ballzy in forum General QuestionsReplies: 25Last Post: 16-08-2010, 16:24 -
Multiple Push to Talk Buttons
By Rofl_My_Waffle in forum [TeamSpeak 2] General QuestionsReplies: 11Last Post: 24-06-2006, 21:46 -
Push to Talk is not working
By cotner in forum [TeamSpeak 2] Client SupportReplies: 19Last Post: 05-11-2005, 17:27 -
Push to talk state will not change during certain activities
By Kilroy in forum [TeamSpeak 2] Client SupportReplies: 5Last Post: 27-07-2005, 02:20 -
Teamspeak and EQII problems with Push to Talk
By Umav in forum [TeamSpeak 2] Client SupportReplies: 0Last Post: 03-07-2005, 15:28


Reply With Quote