VLC 4.0.0-dev
|
Macros | |
#define | vlc_rd_get_names(a, b, c) vlc_rd_get_names(VLC_OBJECT(a), b, c) |
Functions | |
int | vlc_rd_get_names (vlc_object_t *p_obj, char ***pppsz_names, char ***pppsz_longnames) |
Return a list of renderer discovery modules. | |
vlc_renderer_discovery_t * | vlc_rd_new (vlc_object_t *p_obj, const char *psz_name, const struct vlc_renderer_discovery_owner *owner) |
Create a new renderer discovery module. | |
void | vlc_rd_release (vlc_renderer_discovery_t *p_rd) |
#define vlc_rd_get_names | ( | a, | |
b, | |||
c | |||
) | vlc_rd_get_names(VLC_OBJECT(a), b, c) |
int vlc_rd_get_names | ( | vlc_object_t * | p_obj, |
char *** | pppsz_names, | ||
char *** | pppsz_longnames | ||
) |
Return a list of renderer discovery modules.
p_obj | any VLC object to get a libvlc instance from TODO |
pppsz_names | a pointer to a list of module name, NULL terminated |
pppsz_longnames | a pointer to a list of module longname, NULL terminated |
References vlc_rd_probe::psz_longname, vlc_rd_probe::psz_name, unlikely, vlc_alloc(), VLC_EGENERIC, vlc_probe, and VLC_SUCCESS.
vlc_renderer_discovery_t * vlc_rd_new | ( | vlc_object_t * | p_obj, |
const char * | psz_name, | ||
const struct vlc_renderer_discovery_owner * | owner | ||
) |
Create a new renderer discovery module.
p_obj | the parent VLC object the variables will be inherited from |
psz_name | name of the module to load, see vlc_rd_get_names() to get the list of names |
owner | owner object with callback that the renderer discovery will notify when new renderers are found or removed |
void vlc_rd_release | ( | vlc_renderer_discovery_t * | p_rd | ) |