VLC 4.0.0-dev
|
bool vlc_playlist_ComputeHasNext | ( | vlc_playlist_t * | playlist | ) |
References vlc_playlist::order, vlc_assert_unreachable, vlc_playlist_AssertLocked(), vlc_playlist_NormalOrderHasNext(), VLC_PLAYLIST_PLAYBACK_ORDER_NORMAL, VLC_PLAYLIST_PLAYBACK_ORDER_RANDOM, and vlc_playlist_RandomOrderHasNext().
Referenced by player_on_current_media_changed(), vlc_playlist_GetNextMediaIndex(), vlc_playlist_ItemReplaced(), vlc_playlist_ItemsInserted(), vlc_playlist_ItemsMoved(), vlc_playlist_ItemsRemoved(), vlc_playlist_ItemsReset(), vlc_playlist_Next(), vlc_playlist_PlaybackOrderChanged(), vlc_playlist_PlaybackRepeatChanged(), vlc_playlist_SetCurrentIndex(), vlc_playlist_Shuffle(), and vlc_playlist_Sort().
bool vlc_playlist_ComputeHasPrev | ( | vlc_playlist_t * | playlist | ) |
References vlc_playlist::order, vlc_assert_unreachable, vlc_playlist_AssertLocked(), vlc_playlist_NormalOrderHasPrev(), VLC_PLAYLIST_PLAYBACK_ORDER_NORMAL, VLC_PLAYLIST_PLAYBACK_ORDER_RANDOM, and vlc_playlist_RandomOrderHasPrev().
Referenced by player_on_current_media_changed(), vlc_playlist_ItemReplaced(), vlc_playlist_ItemsInserted(), vlc_playlist_ItemsMoved(), vlc_playlist_ItemsRemoved(), vlc_playlist_ItemsReset(), vlc_playlist_PlaybackOrderChanged(), vlc_playlist_PlaybackRepeatChanged(), vlc_playlist_Prev(), vlc_playlist_SetCurrentIndex(), vlc_playlist_Shuffle(), and vlc_playlist_Sort().
|
static |
References vlc_playlist::order, vlc_assert_unreachable, vlc_playlist_AssertLocked(), vlc_playlist_NormalOrderGetNextIndex(), VLC_PLAYLIST_PLAYBACK_ORDER_NORMAL, VLC_PLAYLIST_PLAYBACK_ORDER_RANDOM, and vlc_playlist_RandomOrderGetNextIndex().
Referenced by vlc_playlist_GetNextMediaIndex(), and vlc_playlist_Next().
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References vlc_playlist::current, vlc_playlist::items, vlc_playlist::repeat, playlist_item_vector_t::size, and VLC_PLAYLIST_PLAYBACK_REPEAT_ALL.
Referenced by vlc_playlist_ComputeHasNext().
|
inlinestatic |
References vlc_playlist::current, vlc_playlist::items, vlc_playlist::repeat, playlist_item_vector_t::size, and VLC_PLAYLIST_PLAYBACK_REPEAT_ALL.
Referenced by vlc_playlist_ComputeHasPrev().
|
static |
References _, playlist_item_vector_t::data, vlc_playlist::has_next, vlc_playlist::has_prev, vlc_playlist::items, N_, vlc_playlist::order, vlc_playlist::player, vlc_playlist::randomizer, randomizer_Add(), randomizer_Clear(), randomizer_Count(), randomizer_SetLoop(), vlc_playlist::repeat, playlist_item_vector_t::size, state, vlc_gettext(), vlc_player_osd_Message(), vlc_playlist_ComputeHasNext(), vlc_playlist_ComputeHasPrev(), vlc_playlist_Notify, VLC_PLAYLIST_PLAYBACK_ORDER_NORMAL, VLC_PLAYLIST_PLAYBACK_ORDER_RANDOM, VLC_PLAYLIST_PLAYBACK_REPEAT_ALL, vlc_playlist_state_NotifyChanges(), vlc_playlist_state_Save(), and VLC_UNUSED.
Referenced by vlc_playlist_SetPlaybackOrder().
|
static |
References _, vlc_playlist::has_next, vlc_playlist::has_prev, N_, vlc_playlist::order, vlc_playlist::player, vlc_playlist::randomizer, randomizer_SetLoop(), vlc_playlist::repeat, state, vlc_gettext(), vlc_player_osd_Message(), vlc_playlist_ComputeHasNext(), vlc_playlist_ComputeHasPrev(), vlc_playlist_Notify, VLC_PLAYLIST_PLAYBACK_ORDER_RANDOM, VLC_PLAYLIST_PLAYBACK_REPEAT_ALL, VLC_PLAYLIST_PLAYBACK_REPEAT_CURRENT, VLC_PLAYLIST_PLAYBACK_REPEAT_NONE, vlc_playlist_state_NotifyChanges(), vlc_playlist_state_Save(), and VLC_UNUSED.
Referenced by vlc_playlist_SetPlaybackRepeat().
|
inlinestatic |
References vlc_playlist::randomizer, randomizer_PeekNext(), and vlc_playlist_IndexOf().
Referenced by vlc_playlist_GetNextIndex().
|
inlinestatic |
References vlc_playlist::randomizer, randomizer_PeekPrev(), and vlc_playlist_IndexOf().
Referenced by vlc_playlist_GetPrevIndex().
|
inlinestatic |
|
inlinestatic |
References vlc_playlist::randomizer, and randomizer_HasPrev().
Referenced by vlc_playlist_ComputeHasPrev().
|
static |
int vlc_playlist_SetCurrentMedia | ( | vlc_playlist_t * | playlist, |
ssize_t | index | ||
) |
void vlc_playlist_UpdateNextMedia | ( | vlc_playlist_t * | playlist | ) |
References playlist_item_vector_t::data, vlc_playlist::items, vlc_playlist_item::media, vlc_playlist::player, vlc_playlist::stopped_action, vlc_assert_unreachable, vlc_player_SetNextMedia(), vlc_playlist_AssertLocked(), vlc_playlist_GetNextMediaIndex(), VLC_PLAYLIST_MEDIA_STOPPED_CONTINUE, VLC_PLAYLIST_MEDIA_STOPPED_EXIT, VLC_PLAYLIST_MEDIA_STOPPED_PAUSE, and VLC_PLAYLIST_MEDIA_STOPPED_STOP.
Referenced by player_on_current_media_changed(), vlc_playlist_Expand(), vlc_playlist_Insert(), vlc_playlist_Move(), vlc_playlist_Remove(), and vlc_playlist_SetMediaStoppedAction().