Feeds playing data in various forms to the client.
More...
Feeds playing data in various forms to the client.
Common structs for the visualization client and server.
◆ XMMS_VISPACKET_SHMCOUNT
| #define XMMS_VISPACKET_SHMCOUNT 500 |
◆ XMMS_VISPACKET_UDP_OFFSET
| #define XMMS_VISPACKET_UDP_OFFSET (1 + sizeof (uint16_t)) |
◆ XMMS_VISPACKET_VERSION
| #define XMMS_VISPACKET_VERSION 1 |
◆ XMMSC_VIS_UNALIGNED_READ
| #define XMMSC_VIS_UNALIGNED_READ |
( |
| dst, |
|
|
| src, |
|
|
| typ ) |
Value: do { \
typ *__s = (src); \
memcpy (&(dst), __s, sizeof (typ)); \
} while (0)
◆ XMMSC_VIS_UNALIGNED_WRITE
| #define XMMSC_VIS_UNALIGNED_WRITE |
( |
| dst, |
|
|
| src, |
|
|
| typ ) |
Value: do { \
typ *__d = (dst); \
typ __s = (src); \
memcpy (__d, &__s, sizeof (typ)); \
} while (0)
Referenced by write_udp().
◆ XMMSC_VISUALIZATION_WINDOW_SIZE
| #define XMMSC_VISUALIZATION_WINDOW_SIZE 512 |
◆ xmmsc_vis_data_t
Possible data modes.
| Enumerator |
|---|
| VIS_PCM | |
| VIS_SPECTRUM | |
| VIS_PEAK | |
◆ xmmsc_vis_state_t
| Enumerator |
|---|
| VIS_NEW | |
| VIS_TRYING_UNIXSHM | |
| VIS_TO_TRY_UDP | |
| VIS_TRYING_UDP | |
| VIS_ERRORED | |
| VIS_WORKING | |
◆ xmmsc_vis_transport_t
Possible vis transports.
| Enumerator |
|---|
| VIS_UNIXSHM | |
| VIS_UDP | |
| VIS_NONE | |
◆ delete_client()
| void delete_client |
( |
int32_t | id | ) |
|
◆ get_client()
◆ net2ts()
| double net2ts |
( |
int32_t * | s | ) |
|
◆ packet_init_data()
◆ packet_init_timing()
◆ send_data()
| void send_data |
( |
int | channels, |
|
|
int | size, |
|
|
short * | buf ) |
◆ ts2net()
| void ts2net |
( |
int32_t * | d, |
|
|
double | t ) |
◆ tv2net()
| void tv2net |
( |
int32_t * | d, |
|
|
struct timeval * | t ) |
◆ tv2ts()
| double tv2ts |
( |
struct timeval * | t | ) |
|
◆ xmms_visualization_new()
Initialize the Vis module.
Referenced by main().