-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpadef.h
29 lines (23 loc) · 966 Bytes
/
padef.h
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
#define MAX_PA_DEVICES 160
extern int portaudio_active_flag;
extern char *sndtype[4];
void set_portaudio(int sound_type, int *line);
void close_portaudio_rxda(void);
void open_portaudio_rxda(void);
void close_portaudio_rxad(void);
void open_portaudio_rxad(void);
void close_portaudio_txda(void);
void open_portaudio_txda(void);
void close_portaudio_txad(void);
void open_portaudio_txad(void);
int pa_get_device_info (int n,
int sound_type,
void *pa_device_name,
void *pa_device_hostapi,
double *pa_device_max_speed,
double *pa_device_min_speed,
int *pa_device_max_bytes,
int *pa_device_min_bytes,
int *pa_device_max_channels,
int *pa_device_min_channels );
int pa_get_valid_samplerate(int n, int mode, int *line,unsigned int *new_sample_rate);