Remarks
Sets the playlist execution in random order: if the playlist has the Loop mode set to TRUE (through the PlayListSetLoop method), each time the playlist is completed the execution order is randomly changed.
For further details about playlists management see the How to create and manage a playlist tutorial.
Syntax
[C++]
short control.PlayListSetShuffle (
short nPlayer,
short bShuffle
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the player that owns the playlist
|
bShuffle
|
Boolean value that specifies to execute the playlist in shuffle mode
Supported values are the following:
Mnemonic constant
|
Value
|
Meaning
|
BOOL_FALSE
|
0
|
Playlist is executed in ordered mode
|
BOOL_TRUE
|
1
|
Playlist is executed in Shuffle 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.
|
|