Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 2 of 2
  1. #1
    Join Date
    March 2010
    Location
    Tacoma
    Posts
    68

    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.

  2. #2
    Join Date
    June 2008
    Location
    Krün, Germany
    Posts
    510
    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:

    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);
    And in plugin.c:
    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

  1. Listening all event
    By Toine in forum Suggestions and Feedback
    Replies: 1
    Last Post: April 18th, 2014, 10:39 PM
  2. onclientconnect event?
    By freekster in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: September 28th, 2012, 08:34 AM
  3. [Request] New SDK event
    By fredtrq in forum Suggestions and Feedback
    Replies: 0
    Last Post: September 12th, 2012, 06:54 PM
  4. [BUG] Raised Security Level ignored.
    By SilentStorm in forum Client Support
    Replies: 1
    Last Post: January 6th, 2010, 08:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •