VLC 4.0.0-dev
Loading...
Searching...
No Matches
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.
 
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.
 
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
p_objany VLC object to get a libvlc instance from TODO
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
p_objthe parent VLC object the variables will be inherited from
psz_namename of the module to load, see vlc_rd_get_names() to get the list of names
ownerowner object with callback that the renderer discovery will notify when new renderers are found or removed
Returns
a valid vlc_renderer_discovery, need to be released with vlc_rd_release()

◆ vlc_rd_release()