QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LibVLC media library

Typedefs

typedef struct
libvlc_media_library_t 
libvlc_media_library_t
 

Functions

LIBVLC_API libvlc_media_library_t * libvlc_media_library_new (libvlc_instance_t *p_instance)
 
LIBVLC_API void libvlc_media_library_release (libvlc_media_library_t *p_mlib)
 
LIBVLC_API void libvlc_media_library_retain (libvlc_media_library_t *p_mlib)
 
LIBVLC_API int libvlc_media_library_load (libvlc_media_library_t *p_mlib)
 
LIBVLC_API libvlc_media_list_t * libvlc_media_library_media_list (libvlc_media_library_t *p_mlib)
 

Detailed Description

Function Documentation

LIBVLC_API int libvlc_media_library_load ( libvlc_media_library_t *  p_mlib)

Load media library.

Parameters
p_mlibmedia library object
Returns
0 on success, -1 on error
LIBVLC_API libvlc_media_list_t* libvlc_media_library_media_list ( libvlc_media_library_t *  p_mlib)

Get media library subitems.

Parameters
p_mlibmedia library object
Returns
media list subitems
LIBVLC_API libvlc_media_library_t* libvlc_media_library_new ( libvlc_instance_t p_instance)

Create an new Media Library object

Parameters
p_instancethe libvlc instance
Returns
a new object or NULL on error
LIBVLC_API void libvlc_media_library_release ( libvlc_media_library_t *  p_mlib)

Release media library object. This functions decrements the reference count of the media library object. If it reaches 0, then the object will be released.

Parameters
p_mlibmedia library object
LIBVLC_API void libvlc_media_library_retain ( libvlc_media_library_t *  p_mlib)

Retain a reference to a media library object. This function will increment the reference counting for this object. Use libvlc_media_library_release() to decrement the reference count.

Parameters
p_mlibmedia library object