 | EditCapturedVoiceDataEventHandler Delegate |
Used after sound is recorded from the sound device and is preprocessed.
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic delegate void EditCapturedVoiceDataEventHandler(
Connection connection,
short[] samples,
int channels,
ref bool edited,
ref bool cancel
)
Public Delegate Sub EditCapturedVoiceDataEventHandler (
connection As Connection,
samples As Short(),
channels As Integer,
ByRef edited As Boolean,
ByRef cancel As Boolean
)
public delegate void EditCapturedVoiceDataEventHandler(
Connection^ connection,
array<short>^ samples,
int channels,
bool% edited,
bool% cancel
)
type EditCapturedVoiceDataEventHandler =
delegate of
connection : Connection *
samples : int16[] *
channels : int *
edited : bool byref *
cancel : bool 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 - edited
- Type: SystemBoolean
true if the sound data was changed by the event-handler; otherwise false - cancel
- Type: SystemBoolean
true if the sound data should be discarded; otherwise false
See Also