MultiverseSocial.com

Channel circle › core 5 Media

5 Media: core-level functions

The functions that make up the core channel itself.

16 functions
SignaturePurposeSourceScope
struct MediaChannel * MediaChannelGet(void)(no comment)MediaChannel.c:17public
struct MediaChannel * OpenMediaChannel(void)(no comment)MediaChannel.c:22public
void CloseMediaChannel(struct MediaChannel *mc)(no comment)MediaChannel.c:62public
int MediaJoinChannel(struct MediaChannel *mc, struct Channel *peer)(no comment)MediaChannel.c:84public
int MediaLeaveChannel(struct MediaChannel *mc, struct Channel *peer)(no comment)MediaChannel.c:107public
int MediaSubOpen(struct MediaChannel *mc, uint32_t sub_id)(no comment)MediaChannel.c:124public
int MediaSubClose(struct MediaChannel *mc, uint32_t sub_id)(no comment)MediaChannel.c:166public
struct Runtime * MediaSubRuntime(struct MediaChannel *mc, uint32_t sub_id)The standard runtime (Join/Leave/Read/Write/Open/Close) of an open sub, so a caller that only has the MediaChannel reaches Slideshow / VideoCat (and the others) through it. NULL if the sub is not open.MediaChannel.c:188public
static int MediaOp(struct MediaChannel *c, uint32_t op, uint32_t a, uint64_t b)(no comment)MediaChannel.c:202static
static void MediaRd(struct MediaChannel *c, uint32_t *m, uint32_t *a, uint64_t *b)(no comment)MediaChannel.c:210static
static void * Lock(void *data, void **p_pixels)VLC prepares to render a video frame.PlayerChannel.c:32static
static void Unlock(void *data, void *id, void *const *p_pixels)VLC just rendered a video frame.PlayerChannel.c:42static
struct PlayerChannel* OpenPlayerChannel()(no comment)PlayerChannel.c:69public
void ClosePlayerChannel(struct PlayerChannel *pc)Frees what the channel owns: the instance (AllocMem'd) and its slot. Play() keeps its texture/mutex local and destroys them itself, so the channel owns no GPU texture today.PlayerChannel.c:76public
static void Display(void *data, void *id)VLC wants to display a video frame.PlayerChannel.c:84static
int Play(char *tFileName, SDL_Window *tWindowPtr)(no comment)PlayerChannel.c:103public

Core 5 in the full manual

The > Web 4 < Channel Paradigm · full manual · privacy · contact

Hits--