21#ifndef VLC_PLAYLIST_NEW_INTERNAL_H
22#define VLC_PLAYLIST_NEW_INTERNAL_H
27#include "../player/player.h"
34# define vlc_player_New(a,b,c,d) (VLC_UNUSED(a), VLC_UNUSED(b), VLC_UNUSED(c), \
36# define vlc_player_Delete(p) free(p)
37# define vlc_player_Lock(p) VLC_UNUSED(p)
38# define vlc_player_Unlock(p) VLC_UNUSED(p)
39# define vlc_player_AddListener(a,b,c) (VLC_UNUSED(b), malloc(1))
40# define vlc_player_RemoveListener(a,b) free(b)
41# define vlc_player_SetCurrentMedia(a,b) (VLC_UNUSED(b), VLC_SUCCESS)
42# define vlc_player_InvalidateNextMedia(p) VLC_UNUSED(p)
43# define vlc_player_osd_Message(p, fmt...) VLC_UNUSED(p)
67#if !defined(NDEBUG) && !defined(TEST_PLAYLIST)
74#define vlc_playlist_AssertLocked(x) ((void) (0))
vlc_playlist_playback_repeat
Definition: vlc_playlist.h:117
vlc_playlist_playback_order
Definition: vlc_playlist.h:124
#define VLC_VECTOR(type)
Vector struct body.
Definition: vlc_vector.h:66
static void vlc_player_assert_locked(vlc_player_t *player)
Definition: player.h:301
static void vlc_playlist_AssertLocked(vlc_playlist_t *playlist)
Definition: playlist.h:69
Definition: vlc_objects.h:91
Definition: playlist.h:46
Playlist helper to manage random playback.
Definition: randomizer.h:39
Doubly-linked list node.
Definition: vlc_list.h:44
Definition: playlist.h:49
vlc_player_t * player
Definition: playlist.h:50
ssize_t current
Definition: playlist.h:57
struct vlc_list listeners
list of vlc_playlist_listener_id.node
Definition: playlist.h:60
playlist_item_vector_t items
Definition: playlist.h:55
libvlc_int_t * libvlc
Definition: playlist.h:51
bool has_prev
Definition: playlist.h:58
enum vlc_playlist_playback_repeat repeat
Definition: playlist.h:61
bool auto_preparse
Definition: playlist.h:52
enum vlc_playlist_playback_order order
Definition: playlist.h:62
bool has_next
Definition: playlist.h:59
struct vlc_player_listener_id * player_listener
Definition: playlist.h:54
uint64_t idgen
Definition: playlist.h:63
This file is a collection of common definitions and types.
This provides convenience helpers for vectors.