Click or drag to resize
EditPostProcessVoiceDataEventHandler Delegate
Used when a incoming voice packet from a remote Client was decoded and 3D positioned.

Namespace:  TeamSpeak.Sdk.Client
Assembly:  TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntax
public delegate void EditPostProcessVoiceDataEventHandler(
	Client client,
	short[] samples,
	int channels,
	Speakers[] channelSpeakers,
	ref Speakers channelFillMask
)

Parameters

client
Type: TeamSpeak.Sdk.ClientClient
the Client whose sound data is about to be played
samples
Type: SystemInt16
a Array containing the sound date
channels
Type: SystemInt32
the number of channels in the sound data
channelSpeakers
Type: TeamSpeak.SdkSpeakers
a Array that maps sound channels to speakers
channelFillMask
Type: TeamSpeak.SdkSpeakers
a bit-mask of Speakers that defines which channels are filled. For efficiency reasons, not all channels need to have actual sound data in it. So before this data is used, use this bit-mask to check if the channel is actually filled. If you decide to add data to a channel that is empty, set the bit for this channel in this mask.
See Also