Community Forums Today's Posts     Member List     Archive    
Results 1 to 2 of 2
  1. #1
    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.

  2. #2
    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:

    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. Event Window logging
    By Birrakk in forum Client Support
    Replies: 3
    Last Post: 14-04-2012, 21:40
  2. [Request] A Event Calendar
    By scubastevelg in forum Tools
    Replies: 0
    Last Post: 26-09-2011, 23:24
  3. Client joining event?
    By AMVI_Lince in forum General Questions
    Replies: 1
    Last Post: 23-02-2010, 22:30
  4. [BUG] Raised Security Level ignored.
    By SilentStorm in forum Client Support
    Replies: 1
    Last Post: 06-01-2010, 19:41

Posting Permissions

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