VLC  3.0.0-git
Macros | Typedefs | Functions
VLC renderer discovery interface
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)
 

Typedefs

typedef struct vlc_renderer_discovery_sys vlc_renderer_discovery_sys
 

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)

Typedef Documentation

◆ vlc_renderer_discovery_sys

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

< Unspecified error

< Unspecified error

< No error

References vlc_rd_probe::psz_longname, vlc_rd_probe::psz_name, unlikely, 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()

void vlc_rd_release ( vlc_renderer_discovery_t p_rd)