VLC 4.0.0-dev
Collaboration diagram for VLC renderer module:

Data Structures

struct  vlc_renderer_discovery_owner
 
struct  vlc_renderer_discovery_t
 

Macros

#define VLC_RD_PROBE_HELPER(name, longname)
 
#define VLC_RD_PROBE_SUBMODULE
 

Functions

static void vlc_rd_add_item (vlc_renderer_discovery_t *p_rd, vlc_renderer_item_t *p_item)
 Add a new renderer item. More...
 
static void vlc_rd_remove_item (vlc_renderer_discovery_t *p_rd, vlc_renderer_item_t *p_item)
 Add a new renderer item. More...
 
int vlc_rd_probe_add (vlc_probe_t *p_probe, const char *psz_name, const char *psz_longname)
 Renderer Discovery probe helpers. More...
 

Detailed Description

Macro Definition Documentation

◆ VLC_RD_PROBE_HELPER

#define VLC_RD_PROBE_HELPER (   name,
  longname 
)
Value:
static int vlc_rd_probe_open(vlc_object_t *obj) \
{ \
return vlc_rd_probe_add((struct vlc_probe_t *)obj, name, longname); \
}
int vlc_rd_probe_add(vlc_probe_t *p_probe, const char *psz_name, const char *psz_longname)
Renderer Discovery probe helpers.
Definition: renderer_discovery.c:186
const char name[16]
Definition: httpd.c:1281
VLC object common members.
Definition: vlc_objects.h:45
Definition: vlc_probe.h:41

◆ VLC_RD_PROBE_SUBMODULE

#define VLC_RD_PROBE_SUBMODULE
Value:
set_capability("renderer probe", 100) \
set_callback(vlc_rd_probe_open)
#define add_submodule()
Definition: vlc_plugin.h:339

Function Documentation

◆ vlc_rd_add_item()

static void vlc_rd_add_item ( vlc_renderer_discovery_t p_rd,
vlc_renderer_item_t p_item 
)
inlinestatic

Add a new renderer item.

This will send the vlc_RendererDiscoveryItemAdded event

References vlc_renderer_discovery_owner::item_added, and vlc_renderer_discovery_t::owner.

◆ vlc_rd_probe_add()

int vlc_rd_probe_add ( vlc_probe_t p_probe,
const char *  psz_name,
const char *  psz_longname 
)

◆ vlc_rd_remove_item()

static void vlc_rd_remove_item ( vlc_renderer_discovery_t p_rd,
vlc_renderer_item_t p_item 
)
inlinestatic

Add a new renderer item.

This will send the vlc_RendererDiscoveryItemRemoved event

References vlc_renderer_discovery_owner::item_removed, and vlc_renderer_discovery_t::owner.