BASSenc

BASS_Encode_CastSetTitle


Sets the title of a cast stream.

BOOL BASS_Encode_CastSetTitle(
    HENCODE handle,
    char *title,
    char *url
);

Parameters

handleThe encoder handle.
titleThe title... NULL = no title.
urlURL to go with the title... NULL = no URL. This applies to Shoutcast only.

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThere isn't a cast set on the encoder.
BASS_ERROR_UNKNOWNSome other mystery problem!

See also

BASS_Encode_CastInit