BASS.NET API for the Un4seen BASS Audio Library

BassWmaBASS_WMA_EncodeGetClients Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves the number of clients currently connected to the encoder.

Namespace:  Un4seen.Bass.AddOn.Wma
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("basswma")]
public static int BASS_WMA_EncodeGetClients(
	int handle
)

Parameters

handle
Type: SystemInt32
The encoder handle.

Return Value

Type: Int32
If succesful, the number of clients is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThe encoder was not created with BASS_WMA_EncodeOpenNetwork(Int32, Int32, BASSWMAEncode, Int32, Int32, Int32).
BASS_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference