2001-06-02 23:25:43 +00:00
|
|
|
|
|
|
|
// 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);
|
2001-11-24 05:21:22 +00:00
|
|
|
static float get_delay();
|
2001-06-05 18:40:44 +00:00
|
|
|
static void audio_pause();
|
|
|
|
static void audio_resume();
|
2001-06-02 23:25:43 +00:00
|
|
|
|
|
|
|
#define LIBAO_EXTERN(x) ao_functions_t audio_out_##x =\
|
|
|
|
{\
|
|
|
|
&info,\
|
|
|
|
control,\
|
|
|
|
init,\
|
|
|
|
uninit,\
|
|
|
|
reset,\
|
|
|
|
get_space,\
|
|
|
|
play,\
|
2001-06-05 18:40:44 +00:00
|
|
|
get_delay,\
|
|
|
|
audio_pause,\
|
|
|
|
audio_resume\
|
2001-06-02 23:25:43 +00:00
|
|
|
};
|
|
|
|
|