XMMS2
|
#include <glib.h>
#include <xmmspriv/xmms_log.h>
#include <xmmspriv/xmms_visualization.h>
#include <xmmsc/xmmsc_visualization.h>
Data Structures | |
struct | xmms_vis_client_t |
The structures for a vis client. More... | |
struct | xmms_visualization_St |
The structures for the vis module. More... | |
Macros | |
#define | x_fetch_client(id) |
#define | x_release_client() g_mutex_unlock (&vis->clientlock); |
Functions | |
xmms_vis_client_t * | get_client (int32_t id) |
void | delete_client (int32_t id) |
void | send_data (int channels, int size, int16_t *buf) |
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_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) |
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) |
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) |
void | fft_init (void) |
short | fill_buffer (int16_t *dest, xmmsc_vis_properties_t *prop, int channels, int size, short *src) |
#define x_fetch_client | ( | id | ) |
Referenced by init_shm(), and init_udp().
#define x_release_client | ( | ) | g_mutex_unlock (&vis->clientlock); |
Referenced by init_shm(), and init_udp().
void cleanup_shm | ( | xmmsc_vis_unixshm_t * | t | ) |
Referenced by delete_client().
void cleanup_udp | ( | xmmsc_vis_udp_t * | t, |
xmms_socket_t | socket | ||
) |
Referenced by delete_client().
void fft_init | ( | void | ) |
Referenced by send_data().
short fill_buffer | ( | int16_t * | dest, |
xmmsc_vis_properties_t * | prop, | ||
int | channels, | ||
int | size, | ||
short * | src | ||
) |
Referenced by write_shm(), and write_udp().
int32_t init_shm | ( | xmms_visualization_t * | vis, |
int32_t | id, | ||
int32_t | shmid, | ||
xmms_error_t * | err | ||
) |
int32_t init_udp | ( | xmms_visualization_t * | vis, |
int32_t | id, | ||
xmms_error_t * | err | ||
) |
void send_data | ( | int | channels, |
int | size, | ||
int16_t * | buf | ||
) |
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().
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 | ||
) |