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