XMMS2
Functions
unixshm.c File Reference
#include <sys/shm.h>
#include <sys/sem.h>
#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>
#include "common.h"

Functions

int32_t init_shm (xmms_visualization_t *vis, int32_t id, int32_t shmid, xmms_error_t *err)
 
void cleanup_shm (xmmsc_vis_unixshm_t *t)
 
gboolean write_shm (xmmsc_vis_unixshm_t *t, xmms_vis_client_t *c, int32_t id, struct timeval *time, int channels, int size, short *buf)
 
gboolean write_start_shm (int32_t id, xmmsc_vis_unixshm_t *t, xmmsc_vischunk_t **dest)
 
void write_finish_shm (int32_t id, xmmsc_vis_unixshm_t *t, xmmsc_vischunk_t *dest)
 

Function Documentation

void cleanup_shm ( xmmsc_vis_unixshm_t t)

Referenced by delete_client().

int32_t init_shm ( xmms_visualization_t vis,
int32_t  id,
int32_t  shmid,
xmms_error_t err 
)
void write_finish_shm ( int32_t  id,
xmmsc_vis_unixshm_t t,
xmmsc_vischunk_t dest 
)

Referenced by write_shm().

gboolean write_shm ( xmmsc_vis_unixshm_t t,
xmms_vis_client_t c,
int32_t  id,
struct timeval *  time,
int  channels,
int  size,
short *  buf 
)
gboolean write_start_shm ( int32_t  id,
xmmsc_vis_unixshm_t t,
xmmsc_vischunk_t **  dest 
)

Referenced by write_shm().