aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2/audio_out_internal.h
blob: 87b743e53f9b616c82495cb35bb77ff58b7a82ca (plain)
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

// prototypes:
//static ao_info_t info;
static int control(int cmd,int arg);
static int init(int rate,int channels,int format,int flags);
static void uninit();
static void reset();
static int get_space();
static int play(void* data,int len,int flags);
static float get_delay();
static void audio_pause();
static void audio_resume();

#define LIBAO_EXTERN(x) ao_functions_t audio_out_##x =\
{\
	&info,\
	control,\
	init,\
        uninit,\
	reset,\
	get_space,\
	play,\
	get_delay,\
	audio_pause,\
	audio_resume\
};