XMMS2
Functions
udp.c File Reference
#include <stdlib.h>
#include <unistd.h>
#include "common.h"

Functions

int32_t init_udp (xmms_visualization_t *vis, int32_t id, xmms_error_t *err)
 
void cleanup_udp (xmmsc_vis_udp_t *t, xmms_socket_t socket)
 
gboolean write_udp (xmmsc_vis_udp_t *t, xmms_vis_client_t *c, int32_t id, struct timeval *time, int channels, int size, short *buf, int socket)
 

Function Documentation

void cleanup_udp ( xmmsc_vis_udp_t t,
xmms_socket_t  socket 
)

Referenced by delete_client().

int32_t init_udp ( xmms_visualization_t vis,
int32_t  id,
xmms_error_t err 
)
gboolean write_udp ( xmmsc_vis_udp_t t,
xmms_vis_client_t c,
int32_t  id,
struct timeval *  time,
int  channels,
int  size,
short *  buf,
int  socket 
)