source: roaraudio/roard/include/roard.h @ 248:5c7629ec2c1c

Last change on this file since 248:5c7629ec2c1c was 248:5c7629ec2c1c, checked in by phi, 16 years ago

added wait() an SIGCHLD

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