-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbio.h
More file actions
executable file
·61 lines (56 loc) · 1.62 KB
/
Copy pathbio.h
File metadata and controls
executable file
·61 lines (56 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* bio.h - bank I/O header file */
#define MAXNDC 8 /* maximum number of I/O channels */
#define TB_DEV 1 /* Turtle Beach device type */
#define WA_DEV 2 /* wave-audio device type */
#define limit(mn,aa,mx) (((aa)<(mn))?(mn):((aa)>(mx))?(mx):(aa))
char *dsp_devnam();
double dsp_atten_input(double);
double dsp_atten_output(double);
double dsp_set_rate(double);
int dsp_check_bank();
int dsp_open(int *, double *, double *);
int dsp_reset_io(int);
int dsp_test();
void dsp_bank_get(int, int, int);
void dsp_bank_put(int, int, int, int, int);
void dsp_bank_ready(int);
void dsp_begin_io();
void dsp_close();
void dsp_get_vfs(double *, double *);
void dsp_info(char *);
void dsp_set_vfs(double *, double *);
void dsp_stop_io();
#ifdef WIN32
char *wa_devnam();
double wa_adjust_rate(double);
double wa_atten_input(double);
double wa_atten_output(double);
double wa_set_rate(double);
int wa_check_bank();
int wa_devsel(int);
int wa_devsel_byname(char *);
int wa_open(int *, double *, double *);
int wa_reset_io();
int wa_test();
void wa_bank_get(int, int, int);
void wa_bank_put(int, int, int, int, int);
void wa_bank_ready(int);
void wa_begin_io();
void wa_close();
void wa_get_vfs(double *, double *);
void wa_info(char *);
void wa_set_ndc(int *);
void wa_set_vfs(double *, double *);
void wa_stop_io();
#endif /* WIN32 */
typedef struct {
long accept;
long avmode[MAXNDC];
long resp_i[MAXNDC];
long stim_i[MAXNDC];
long *bank_b;
long *resp_a[MAXNDC];
long *resp_b[MAXNDC];
long *stim_b[MAXNDC];
} BIO;
extern BIO bio_;