source: roaraudio/roard/include/roard.h @ 416:3c1e97685b59

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

added wait() an SIGCHLD

File size: 941 bytes
RevLine 
[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>
[242]10
[243]11/*
[242]12#ifdef __linux__
[243]13#include <linux/unistd.h>
[242]14#include <linux/ioprio.h>
15#endif
[243]16*/
[242]17
18
[0]19//#include "buffer.h"
[247]20#include "codecfilter.h"
[0]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"
[40]31#include "sample.h"
[89]32#include "meta.h"
[244]33#include "midi.h"
[245]34#include "lib.h"
[0]35
[242]36
[0]37int alive;
38
[246]39uint32_t g_pos; // current possition in output stream
40
[0]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);
[248]48void on_sig_chld (int signum);
[0]49
50int g_listen_socket;
51
[37]52int g_self_client;
53
[71]54int g_terminate;
55
[0]56struct roar_audio_info * g_sa;
57
58#endif
59
60//ll
Note: See TracBrowser for help on using the repository browser.