 | 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)
Syntaxpublic delegate void EditPostProcessVoiceDataEventHandler(
Client client,
short[] samples,
int channels,
Speakers[] channelSpeakers,
ref Speakers channelFillMask
)
Public Delegate Sub EditPostProcessVoiceDataEventHandler (
client As Client,
samples As Short(),
channels As Integer,
channelSpeakers As Speakers(),
ByRef channelFillMask As Speakers
)
public delegate void EditPostProcessVoiceDataEventHandler(
Client^ client,
array<short>^ samples,
int channels,
array<Speakers>^ channelSpeakers,
Speakers% channelFillMask
)
type EditPostProcessVoiceDataEventHandler =
delegate of
client : Client *
samples : int16[] *
channels : int *
channelSpeakers : Speakers[] *
channelFillMask : Speakers byref -> unit
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