VLC  4.0.0-dev
Functions
engine.c File Reference
Include dependency graph for engine.c:

Functions

static void VariablesInit (playlist_t *p_playlist)
 
static int RandomCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *a)
 
static int CorksCallback (vlc_object_t *obj, char const *var, vlc_value_t old, vlc_value_t cur, void *dummy)
 When there are one or more pending corks, playback should be paused. More...
 
static int RateCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p)
 
static int RateOffsetCallback (vlc_object_t *obj, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data)
 
static int VideoSplitterCallback (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data)
 
playlist_tplaylist_Create (vlc_object_t *p_parent)
 Create playlist. More...
 
void playlist_Destroy (playlist_t *p_playlist)
 Destroy playlist. More...
 
input_thread_tplaylist_CurrentInputLocked (playlist_t *p_playlist)
 Get current playing input. More...
 
input_thread_tplaylist_CurrentInput (playlist_t *p_playlist)
 Get current playing input. More...
 
playlist_item_tget_current_status_item (playlist_t *p_playlist)
 Accessor for status item and status nodes. More...
 
playlist_item_tget_current_status_node (playlist_t *p_playlist)
 
void set_current_status_item (playlist_t *p_playlist, playlist_item_t *p_item)
 
void set_current_status_node (playlist_t *p_playlist, playlist_item_t *p_node)
 
playlist_item_tplaylist_CurrentPlayingItem (playlist_t *p_playlist)
 
int playlist_Status (playlist_t *p_playlist)
 

Function Documentation

◆ CorksCallback()

static int CorksCallback ( vlc_object_t obj,
char const *  var,
vlc_value_t  old,
vlc_value_t  cur,
void *  dummy 
)
static

When there are one or more pending corks, playback should be paused.

This is used for audio policy.

Warning
Always add and remove a cork with var_IncInteger() and var_DecInteger(). var_Get() and var_Set() are prone to race conditions.

References vlc_value_t::i_int, msg_Dbg, pl_Locked, pl_priv, playlist_Control(), playlist_Lock(), PLAYLIST_PAUSE, PLAYLIST_RESUME, PLAYLIST_RUNNING, playlist_Status(), playlist_Unlock(), var_InheritBool(), and VLC_SUCCESS.

Referenced by VariablesInit().

◆ RandomCallback()

static int RandomCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  a 
)
static

◆ RateCallback()

static int RateCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p 
)
static

◆ RateOffsetCallback()

static int RateOffsetCallback ( vlc_object_t obj,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ VariablesInit()

static void VariablesInit ( playlist_t p_playlist)
static

◆ VideoSplitterCallback()

static int VideoSplitterCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static