Remarks
Sets the playlist execution in looping mode: this means that, once the playlist execution has been completed, it will automatically restart from the beginning.
For further details about playlists management see the How to create and manage a playlist tutorial.
Syntax
[C++]
short control.PlayListSetLoop (
short nPlayer,
short bLoop
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the player that owns the playlist
|
bLoop
|
Boolean value that specifies to go in loop mode once the playlist execution has been completed.
Supported values are the following:
Mnemonic constant
|
Value
|
Meaning
|
BOOL_FALSE
|
0
|
Playlist is executed only once
|
BOOL_TRUE
|
1
|
Playlist is executed in Loop mode
|
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The call was successful.
|
|