
| static void assert_locked | ( | libvlc_media_list_player_t * | p_mlp | ) | [inline, static] |
References libvlc_media_list_player_t::mp_callback_lock, and vlc_assert_locked.
Referenced by get_next_path(), get_previous_path(), install_media_player_observer(), install_playlist_observer(), mlist_em(), mplayer_em(), set_current_playing_item(), set_relative_playlist_position_and_play(), stop(), uninstall_media_player_observer(), and uninstall_playlist_observer().
| static libvlc_media_list_path_t find_last_item | ( | libvlc_media_list_t * | p_mlist, | |
| libvlc_media_list_path_t | current_item | |||
| ) | [static] |
References libvlc_media_list_count(), libvlc_media_list_path_copy_by_appending(), libvlc_media_list_release(), and libvlc_media_list_sublist_at_path().
Referenced by get_previous_path().
| static libvlc_media_list_path_t get_next_path | ( | libvlc_media_list_player_t * | p_mlp, | |
| bool | b_loop | |||
| ) | [static] |
References assert_locked(), libvlc_media_list_player_t::current_playing_item_path, libvlc_media_list_count(), libvlc_media_list_parentlist_at_path(), libvlc_media_list_path_copy(), libvlc_media_list_path_copy_by_appending(), libvlc_media_list_path_depth(), libvlc_media_list_path_with_root_index(), libvlc_media_list_release(), libvlc_media_list_sublist_at_path(), and libvlc_media_list_player_t::p_mlist.
Referenced by set_relative_playlist_position_and_play().
| static libvlc_media_list_path_t get_previous_path | ( | libvlc_media_list_player_t * | p_mlp, | |
| bool | b_loop | |||
| ) | [static] |
References assert_locked(), libvlc_media_list_player_t::current_playing_item_path, find_last_item(), libvlc_media_list_count(), libvlc_media_list_parentlist_at_path(), libvlc_media_list_path_copy(), libvlc_media_list_path_depth(), libvlc_media_list_path_with_root_index(), libvlc_media_list_release(), and libvlc_media_list_player_t::p_mlist.
Referenced by set_relative_playlist_position_and_play().
| static void install_media_player_observer | ( | libvlc_media_list_player_t * | p_mlp | ) | [static] |
References assert_locked(), libvlc_event_attach_async(), libvlc_MediaPlayerEndReached, media_player_reached_end(), and mplayer_em().
Referenced by libvlc_media_list_player_set_media_player(), set_current_playing_item(), and stop().
| static void install_playlist_observer | ( | libvlc_media_list_player_t * | p_mlp | ) | [static] |
References assert_locked(), libvlc_event_attach(), libvlc_MediaListItemDeleted, mlist_em(), and mlist_item_deleted().
Referenced by libvlc_media_list_player_set_media_list().
| static void lock | ( | libvlc_media_list_player_t * | p_mlp | ) | [inline, static] |
| static void media_player_reached_end | ( | const libvlc_event_t * | p_event, | |
| void * | p_user_data | |||
| ) | [static] |
| static libvlc_event_manager_t* mlist_em | ( | libvlc_media_list_player_t * | p_mlp | ) | [inline, static] |
References assert_locked(), libvlc_media_list_event_manager(), and libvlc_media_list_player_t::p_mlist.
Referenced by install_playlist_observer(), and uninstall_playlist_observer().
| static void mlist_item_deleted | ( | const libvlc_event_t * | p_event, | |
| void * | p_user_data | |||
| ) | [static] |
Referenced by install_playlist_observer(), and uninstall_playlist_observer().
| static libvlc_event_manager_t* mplayer_em | ( | libvlc_media_list_player_t * | p_mlp | ) | [inline, static] |
References assert_locked(), libvlc_media_player_event_manager(), and libvlc_media_list_player_t::p_mi.
Referenced by install_media_player_observer(), and uninstall_media_player_observer().
| static void set_current_playing_item | ( | libvlc_media_list_player_t * | p_mlp, | |
| libvlc_media_list_path_t | path | |||
| ) | [static] |
References assert_locked(), libvlc_media_list_player_t::current_playing_item_path, install_media_player_observer(), libvlc_media_list_item_at_path(), libvlc_media_player_new_from_media(), libvlc_media_player_set_media(), libvlc_media_release(), libvlc_media_list_player_t::p_mi, libvlc_media_list_player_t::p_mlist, and uninstall_media_player_observer().
Referenced by libvlc_media_list_player_play_item(), libvlc_media_list_player_play_item_at_index(), and set_relative_playlist_position_and_play().
| static int set_relative_playlist_position_and_play | ( | libvlc_media_list_player_t * | p_mlp, | |
| int | i_relative_position | |||
| ) | [static] |
References assert_locked(), libvlc_media_list_player_t::current_playing_item_path, libvlc_media_list_player_t::e_playback_mode, get_next_path(), get_previous_path(), libvlc_event_send(), libvlc_media_list_item_at_path(), libvlc_media_list_lock(), libvlc_media_list_path_dump(), libvlc_media_list_unlock(), libvlc_media_player_play(), libvlc_media_release(), libvlc_playback_mode_repeat, libvlc_printerr(), libvlc_media_list_player_t::p_event_manager, libvlc_media_list_player_t::p_mi, libvlc_media_list_player_t::p_mlist, and set_current_playing_item().
Referenced by libvlc_media_list_player_next(), libvlc_media_list_player_play(), libvlc_media_list_player_previous(), and media_player_reached_end().
| static void stop | ( | libvlc_media_list_player_t * | p_mlp | ) | [static] |
| static void uninstall_media_player_observer | ( | libvlc_media_list_player_t * | p_mlp | ) | [static] |
References libvlc_media_list_player_t::are_mp_callback_cancelled, assert_locked(), libvlc_event_detach(), libvlc_MediaPlayerEndReached, media_player_reached_end(), libvlc_media_list_player_t::mp_callback_lock, mplayer_em(), libvlc_media_list_player_t::p_mi, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by libvlc_media_list_player_release(), libvlc_media_list_player_set_media_player(), set_current_playing_item(), and stop().
| static void uninstall_playlist_observer | ( | libvlc_media_list_player_t * | p_mlp | ) | [static] |
| static void unlock | ( | libvlc_media_list_player_t * | p_mlp | ) | [inline, static] |
References libvlc_media_list_player_t::mp_callback_lock, libvlc_media_list_player_t::object_lock, and vlc_mutex_unlock().
Referenced by libvlc_media_list_player_next(), libvlc_media_list_player_pause(), libvlc_media_list_player_play(), libvlc_media_list_player_play_item(), libvlc_media_list_player_play_item_at_index(), libvlc_media_list_player_previous(), libvlc_media_list_player_release(), libvlc_media_list_player_retain(), libvlc_media_list_player_set_media_list(), libvlc_media_list_player_set_media_player(), libvlc_media_list_player_set_playback_mode(), and libvlc_media_list_player_stop().
| static void vlc_assert_locked | ( | vlc_mutex_t * | mutex | ) | [inline, static] |
References VLC_UNUSED.
1.7.1