initial commit
[dos_auplay] / src / au_sb.h
1 #ifndef AU_SB_H_\r
2 #define AU_SB_H_\r
3 \r
4 /* returns true (nonzero) if a sound blaster DSP is detected in the ISA bus\r
5  * and sets the internal base_port so that subsequent calls can find it\r
6  */\r
7 int sb_detect(void);\r
8 \r
9 /* returns 0 for success, non-zero if the DSP isn't responding at the currently\r
10  * selected base port\r
11  */\r
12 int sb_reset_dsp(void);\r
13 \r
14 void *sb_buffer(int *size);\r
15 \r
16 void sb_set_output_rate(int rate);\r
17 \r
18 void sb_start(int rate, int bits, int nchan);\r
19 void sb_pause(void);\r
20 void sb_continue(void);\r
21 void sb_stop(void);\r
22 int sb_isplaying(void);\r
23 \r
24 void sb_volume(int vol);\r
25 \r
26 #endif  /* AU_SB_H_ */\r