BASS_CONFIG_ENCODE_CAST_BIND config option


Address to bind to when connecting to cast servers.

BASS_SetConfigPtr(
    BASS_CONFIG_ENCODE_CAST_BIND,
    char *address
);

Parameters

addressThe local IP address to bind to... NULL = system default.

Remarks

When a system has multiple networks available, this setting determines which is used by BASS_Encode_CastInit when connecting to a server and by subsequent BASS_Encode_CastGetStats and BASS_Encode_CastSetTitle calls.

A copy is made of the provided string, so it does not need to persist beyond the BASS_SetConfigPtr call. Changes take effect from the next BASS_Encode_CastInit call.

Platform-specific

On Windows and Windows CE, the BASS_UNICODE flag can be used with a UTF-16 string ("wchar_t" rather than "char").

See also

BASS_GetConfigPtr, BASS_SetConfigPtr