VLC 4.0.0-dev
|
Go to the source code of this file.
Data Structures | |
struct | randomizer |
Playlist helper to manage random playback. More... | |
Typedefs | |
typedef struct vlc_playlist_item | vlc_playlist_item_t |
Functions | |
void | randomizer_Init (struct randomizer *randomizer) |
Initialize an empty randomizer. More... | |
void | randomizer_Destroy (struct randomizer *randomizer) |
Destroy a randomizer. More... | |
void | randomizer_SetLoop (struct randomizer *randomizer, bool loop) |
Enable or disable "loop" mode. More... | |
bool | randomizer_Count (struct randomizer *randomizer) |
Return the number of items in the randomizer. More... | |
void | randomizer_Reshuffle (struct randomizer *randomizer) |
Start a new random cycle. More... | |
bool | randomizer_HasPrev (struct randomizer *randomizer) |
Indicate whether there is a previous item. More... | |
bool | randomizer_HasNext (struct randomizer *randomizer) |
Indicate whether there is a next item. More... | |
vlc_playlist_item_t * | randomizer_PeekPrev (struct randomizer *randomizer) |
Peek the previous item (without changing the current one). More... | |
vlc_playlist_item_t * | randomizer_PeekNext (struct randomizer *randomizer) |
Peek the next item (without changing the current one). More... | |
vlc_playlist_item_t * | randomizer_Prev (struct randomizer *randomizer) |
Go back to the previous item. More... | |
vlc_playlist_item_t * | randomizer_Next (struct randomizer *randomizer) |
Go back to the next item. More... | |
void | randomizer_Select (struct randomizer *randomizer, const vlc_playlist_item_t *item) |
Force the selection of a specific item. More... | |
bool | randomizer_Add (struct randomizer *randomizer, vlc_playlist_item_t *items[], size_t count) |
Add items to the randomizer. More... | |
void | randomizer_Remove (struct randomizer *randomizer, vlc_playlist_item_t *const items[], size_t count) |
Remove items from the randomizer. More... | |
void | randomizer_Clear (struct randomizer *randomizer) |
Clear the randomizer. More... | |
typedef struct vlc_playlist_item vlc_playlist_item_t |