Last change
on this file since 17:411717cefded was
17:411717cefded,
checked in by phi, 16 years ago
|
now we can change the volume, but it will not work if you set it... haha...
|
File size:
1.5 KB
|
Line | |
---|
1 | //porto.h: |
---|
2 | |
---|
3 | #ifndef _ROARAUDIO_PORTO_H_ |
---|
4 | #define _ROARAUDIO_PORTO_H_ |
---|
5 | |
---|
6 | #define ROAR_CMD_EOL -1 /* end of list */ |
---|
7 | #define ROAR_CMD_NOOP 0 /* do nothing */ |
---|
8 | #define ROAR_CMD_IDENTIFY 1 /* after connect we have to identify ourself */ |
---|
9 | #define ROAR_CMD_AUTH 2 /* send an auth cookie */ |
---|
10 | #define ROAR_CMD_NEW_STREAM 3 /* request a new stream id */ |
---|
11 | #define ROAR_CMD_SET_META 4 /* update meta data of streamed data */ |
---|
12 | #define ROAR_CMD_EXEC_STREAM 5 /* close all data channels and make the controll socket a raw data socket */ |
---|
13 | #define ROAR_CMD_QUIT 6 /* quits the connection */ |
---|
14 | |
---|
15 | #define ROAR_CMD_GET_STANDBY 7 |
---|
16 | #define ROAR_CMD_SET_STANDBY 8 |
---|
17 | |
---|
18 | #define ROAR_CMD_SERVER_INFO 9 /* Server version ... */ |
---|
19 | #define ROAR_CMD_SERVER_STATS 10 /* Server stats: number of clients, streams,.. */ |
---|
20 | #define ROAR_CMD_SERVER_OINFO 11 /* Output info, roar_audio_info sa */ |
---|
21 | |
---|
22 | #define ROAR_CMD_ADD_DATA 12 /* add some data to the input buffer */ |
---|
23 | |
---|
24 | //#define ROAR_CMD_ |
---|
25 | |
---|
26 | #define ROAR_CMD_EXIT 13 |
---|
27 | #define ROAR_CMD_LIST_STREAMS 14 |
---|
28 | #define ROAR_CMD_LIST_CLIENTS 15 |
---|
29 | |
---|
30 | #define ROAR_CMD_GET_CLIENT 16 |
---|
31 | #define ROAR_CMD_GET_STREAM 17 |
---|
32 | |
---|
33 | #define ROAR_CMD_KICK 18 |
---|
34 | |
---|
35 | #define ROAR_CMD_SET_VOL 19 |
---|
36 | |
---|
37 | #define ROAR_CMD_OK 254 |
---|
38 | #define ROAR_CMD_ERROR 255 |
---|
39 | |
---|
40 | |
---|
41 | #define ROAR_STANDBY_ACTIVE 1 |
---|
42 | #define ROAR_STANDBY_INACTIVE 0 |
---|
43 | |
---|
44 | // object types... |
---|
45 | #define ROAR_OT_CLIENT 1 |
---|
46 | #define ROAR_OT_STREAM 2 |
---|
47 | #define ROAR_OT_SOURCE 3 |
---|
48 | #define ROAR_OT_SAMPLE 4 |
---|
49 | |
---|
50 | #endif |
---|
51 | |
---|
52 | //ll |
---|
Note: See
TracBrowser
for help on using the repository browser.