 | EditMixedPlaybackVoiceDataEventHandler Delegate |
Used when all sounds that are about to be played back for this
Connection have been mixed. This is the last chance to alter/get sound.
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic delegate void EditMixedPlaybackVoiceDataEventHandler(
Connection connection,
short[] samples,
int channels,
Speakers[] channelSpeakers,
ref Speakers channelFillMask
)
Public Delegate Sub EditMixedPlaybackVoiceDataEventHandler (
connection As Connection,
samples As Short(),
channels As Integer,
channelSpeakers As Speakers(),
ByRef channelFillMask As Speakers
)
public delegate void EditMixedPlaybackVoiceDataEventHandler(
Connection^ connection,
array<short>^ samples,
int channels,
array<Speakers>^ channelSpeakers,
Speakers% channelFillMask
)
type EditMixedPlaybackVoiceDataEventHandler =
delegate of
connection : Connection *
samples : int16[] *
channels : int *
channelSpeakers : Speakers[] *
channelFillMask : Speakers byref -> unit
Parameters
- connection
- Type: TeamSpeak.Sdk.ClientConnection
the Connection - 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