VLC 4.0.0-dev
Collaboration diagram for VLC renderer discovery interface:

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. More...
 
vlc_renderer_discovery_tvlc_rd_new (vlc_object_t *p_obj, const char *psz_name, const struct vlc_renderer_discovery_owner *owner)
 Create a new renderer discovery module. More...
 
void vlc_rd_release (vlc_renderer_discovery_t *p_rd)
 

Detailed Description

Macro Definition Documentation

◆ vlc_rd_get_names

#define vlc_rd_get_names (   a,
  b,
 
)     vlc_rd_get_names(VLC_OBJECT(a), b, c)

Function Documentation

◆ vlc_rd_get_names()

int vlc_rd_get_names ( vlc_object_t p_obj,
char ***  pppsz_names,
char ***  pppsz_longnames 
)

Return a list of renderer discovery modules.

Parameters
pppsz_namesa pointer to a list of module name, NULL terminated
pppsz_longnamesa pointer to a list of module longname, NULL terminated
Returns
VLC_SUCCESS on success, or VLC_EGENERIC on error

References vlc_rd_probe::psz_longname, vlc_rd_probe::psz_name, unlikely, vlc_alloc(), VLC_EGENERIC, vlc_probe, and VLC_SUCCESS.

◆ vlc_rd_new()

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.

Parameters
psz_namename of the module to load, see vlc_rd_get_names() to get the list of names
Returns
a valid vlc_renderer_discovery, need to be released with vlc_rd_release()

◆ vlc_rd_release()