![]() | Library Methods |
The Library type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CreateCustomDevice |
Instead of opening existing sound devices that TeamSpeak has detected, you can also use our custom capture and playback mechanism to allow you to override the way in which TeamSpeak does capture and playback. When you have opened a custom capture and playback device you must regularly supply new "captured" sound data via ProcessData(Int16, Int32) and retrieve data that should be "played back" via AcquireData(Int16, Int32). Where exactly this captured sound data comes from and where the playback data goes to is up to you, which allows a lot of cool things to be done with this mechanism.
A custom device can be opened like any standard device with OpenCapture(ISoundDevice) and OpenPlayback(ISoundDevice).
|
![]() ![]() | CreateIdentity |
To connect to a server, a client application is required to request an identity from the Library. This string should be requested only once and then locally stored in the applications configuration. The next time the application connects to a server, the identity should be read from the configuration and reused again.
|
![]() ![]() | Destroy |
Releases the unmanaged resources used by the Library |
![]() ![]() | GetCaptureDevices |
Get capture devices available for the given mode, as well as the current operating systems default.
|
![]() ![]() | GetCaptureModes |
Query all available capture modes
|
![]() ![]() | GetErrorMessage |
Gets a descriptive text message for a error-code
|
![]() ![]() | GetPlaybackDevices |
Get playback devices available for the given mode, as well as the current operating systems default.
|
![]() ![]() | GetPlaybackModes |
Query all available playback modes
|
![]() ![]() | IdentityToUniqueIdentifier |
Generate the unique identifier of a identity
|
![]() ![]() | Initialize |
Initializes the TeamSpeak clientlib
|
![]() ![]() | Initialize(LibraryParameters) |
Creates a new Library-Instance
|
![]() ![]() | Initialize(LogTypes) |
Initializes the TeamSpeak clientlib
|
![]() ![]() | Log |
Basic logging function.
|
![]() ![]() | SpawnNewConnection |
Before connecting to a TeamSpeak 3 server, a new Connection needs to be spawned. With a Connection a connection can be established and dropped multiple times, so for simply reconnecting to the same or another server no new Connection needs to be spawned but existing ones can be reused. However, for using multiple connections simultaneously a new Connection has to be spawned for each connection.
|