BASS WMA

BASS_WMA_EncodeGetClients


Retrieves the number of clients currently connected to the encoder.

DWORD BASS_WMA_EncodeGetClients(
    HWMENCODE handle
);

Parameters

handleThe encoder handle.

Return value

If successful, the number of clients is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThe encoder was not created with BASS_WMA_EncodeOpenNetwork.
BASS_ERROR_UNKNOWNSome other mystery problem!

See also

BASS_WMA_EncodeOpenNetwork, BASS_WMA_EncodeSetNotify