]> icculus.org git repositories - btb/d2x.git/blob - arch/linux/include/music.h
remove rcs tags
[btb/d2x.git] / arch / linux / include / music.h
1
2 #include <unistd.h>
3
4 #define SEQ_DEV "/dev/sequencer"
5
6 #define PLAYING 0
7 #define STOPPED 1
8
9 typedef struct
10 {
11     int position;
12     int status;
13     int time;
14 } Track_info;
15
16 typedef struct
17 {
18     signed short note;
19     signed short channel;
20 } Voice_info;
21
22 void seqbuf_dump();
23 int seq_init();
24 void seq_close();
25 void set_program(int, int);
26 void start_note(int, int, int);
27 void stop_note(int, int, int);
28 void set_control(int, int, int);
29 void set_pitchbend(int, int);
30 void set_chn_pressure(int,int);
31 void set_key_pressure(int,int,int);
32 void play_hmi (void * arg);
33 void send_ipc(char *);
34 void kill_ipc();