source:
roaraudio/roard/include/roard.h
@
444:ddaaf8e220bd
Last change on this file since 444:ddaaf8e220bd was 444:ddaaf8e220bd, checked in by phi, 16 years ago | |
---|---|
File size: 958 bytes |
Rev | Line | |
---|---|---|
[0] | 1 | //roard.h: |
2 | ||
3 | #ifndef _ROARD_H_ | |
4 | #define _ROARD_H_ | |
5 | ||
6 | #include <signal.h> | |
7 | #include <sys/select.h> | |
[248] | 8 | #include <sys/wait.h> |
[0] | 9 | #include <roaraudio.h> |
[444] | 10 | #include <pwd.h> |
[242] | 11 | |
[243] | 12 | /* |
[242] | 13 | #ifdef __linux__ |
[243] | 14 | #include <linux/unistd.h> |
[242] | 15 | #include <linux/ioprio.h> |
16 | #endif | |
[243] | 17 | */ |
[242] | 18 | |
19 | ||
[0] | 20 | //#include "buffer.h" |
[247] | 21 | #include "codecfilter.h" |
[0] | 22 | #include "client.h" |
23 | #include "driver.h" | |
24 | #include "output.h" | |
25 | #include "mixer.h" | |
26 | //#include "convert.h" | |
27 | #include "streams.h" | |
28 | #include "network.h" | |
29 | #include "commands.h" | |
30 | #include "req.h" | |
31 | #include "sources.h" | |
[40] | 32 | #include "sample.h" |
[89] | 33 | #include "meta.h" |
[244] | 34 | #include "midi.h" |
[245] | 35 | #include "lib.h" |
[0] | 36 | |
[242] | 37 | |
[0] | 38 | int alive; |
39 | ||
[246] | 40 | uint32_t g_pos; // current possition in output stream |
41 | ||
[0] | 42 | int g_standby; |
43 | ||
44 | int main_loop (int driver, DRIVER_USERDATA_T driver_inst, struct roar_audio_info * sa); | |
45 | void clean_quit (void); | |
46 | void clean_quit_prep (void); | |
47 | ||
48 | void on_sig_int (int signum); | |
[248] | 49 | void on_sig_chld (int signum); |
[0] | 50 | |
51 | int g_listen_socket; | |
52 | ||
[37] | 53 | int g_self_client; |
54 | ||
[71] | 55 | int g_terminate; |
56 | ||
[0] | 57 | struct roar_audio_info * g_sa; |
58 | ||
59 | #endif | |
60 | ||
61 | //ll |
Note: See TracBrowser
for help on using the repository browser.