The currently used playback and capture modes for a given server connection handler can be checked with:
unsigned int ts3client_getCurrentPlayBackMode( | serverConnectionHandlerID, | á |
á | result) ; | á |
uint64 serverConnectionHandlerID
;char** result
;unsigned int ts3client_getCurrentCaptureMode( | serverConnectionHandlerID, | á |
á | result) ; | á |
uint64 serverConnectionHandlerID
;char** result
;Parameters
serverConnectionHandlerID
ID of the server connection handler for which the current playback or capture modes are queried.
result
Address of a variable that receives the current playback or capture mode. Unless the function returns an error, the string must be released using ts3client_freeMemory
.
Returns ERROR_ok
on success, otherwise an error code as defined in public_errors.h
.
Check the currently used playback and capture devices for a given server connection handler with:
unsigned int ts3client_getCurrentPlaybackDeviceName( | serverConnectionHandlerID, | á |
á | result, | á |
á | isDefault) ; | á |
uint64 serverConnectionHandlerID
;char** result
;int* isDefault
;unsigned int ts3client_getCurrentCaptureDeviceName( | serverConnectionHandlerID, | á |
á | result, | á |
á | isDefault) ; | á |
uint64 serverConnectionHandlerID
;char** result
;int* isDefault
;Parameters
serverConnectionHandlerID
ID of the server connection handler for which the current playback or capture devices are queried.
result
Address of a variable that receives the current playback or capture device. Unless the function returns an error, the string must be released using ts3client_freeMemory
.
result
Address of a variable that receives a flag if this device is the default playback/capture device. If this is not needed, pass NULL instead.
Returns ERROR_ok
on success, otherwise an error code as defined in public_errors.h
. If an error has occured, the result string is uninitialized and must not be released.