Results 1 to 2 of 2
-
12-04-2012, 21:10 #1
-= TeamSpeak Lover =-
- Join Date
- Mar 2010
- Location
- Tacoma
- Posts
- 49
Plugin SDK: onEditRecordedVoiceDataEvent event is never raised.
This event is never raised.
Unless I am mistaken it should be raised when the local user keys their mic and TS begins to record their voice for transmission.
All other voice data events seem to be working fine.
-
16-04-2012, 13:22 #2
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Location
- Krün, Germany
- Posts
- 464
Ah well, that function was renamed to onEditCapturedVoiceDataEvent and I forgot to update the demo plugin code. ;-(
Fixed for upcoming release, but you can also update your existing plugin.h/c code and it should be working:
In plugin.h replace the 4 lines with onEdit... function prototypes:
And in plugin.c:Code:PLUGINS_EXPORTDLL void ts3plugin_onEditPlaybackVoiceDataEvent(uint64 serverConnectionHandlerID, anyID clientID, short* samples, int sampleCount, int channels); PLUGINS_EXPORTDLL void ts3plugin_onEditPostProcessVoiceDataEvent(uint64 serverConnectionHandlerID, anyID clientID, short* samples, int sampleCount, int channels, const unsigned int* channelSpeakerArray, unsigned int* channelFillMask); PLUGINS_EXPORTDLL void ts3plugin_onEditMixedPlaybackVoiceDataEvent(uint64 serverConnectionHandlerID, short* samples, int sampleCount, int channels, const unsigned int* channelSpeakerArray, unsigned int* channelFillMask); PLUGINS_EXPORTDLL void ts3plugin_onEditCapturedVoiceDataEvent(uint64 serverConnectionHandlerID, short* samples, int sampleCount, int channels, int* edited);
Code:void ts3plugin_onEditPlaybackVoiceDataEvent(uint64 serverConnectionHandlerID, anyID clientID, short* samples, int sampleCount, int channels) { } void ts3plugin_onEditPostProcessVoiceDataEvent(uint64 serverConnectionHandlerID, anyID clientID, short* samples, int sampleCount, int channels, const unsigned int* channelSpeakerArray, unsigned int* channelFillMask) { } void ts3plugin_onEditMixedPlaybackVoiceDataEvent(uint64 serverConnectionHandlerID, short* samples, int sampleCount, int channels, const unsigned int* channelSpeakerArray, unsigned int* channelFillMask) { } void ts3plugin_onEditCapturedVoiceDataEvent(uint64 serverConnectionHandlerID, short* samples, int sampleCount, int channels, int* edited) { }
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Event Window logging
By Birrakk in forum Client SupportReplies: 3Last Post: 14-04-2012, 21:40 -
[Request] A Event Calendar
By scubastevelg in forum ToolsReplies: 0Last Post: 26-09-2011, 23:24 -
Client joining event?
By AMVI_Lince in forum General QuestionsReplies: 1Last Post: 23-02-2010, 22:30 -
[BUG] Raised Security Level ignored.
By SilentStorm in forum Client SupportReplies: 1Last Post: 06-01-2010, 19:41


Reply With Quote