2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_AUDIO_OUT_INTERNAL_H
|
|
|
|
#define MPLAYER_AUDIO_OUT_INTERNAL_H
|
2001-06-02 23:25:43 +00:00
|
|
|
|
|
|
|
// prototypes:
|
|
|
|
//static ao_info_t info;
|
2003-03-21 16:42:50 +00:00
|
|
|
static int control(int cmd, void *arg);
|
2001-06-02 23:25:43 +00:00
|
|
|
static int init(int rate,int channels,int format,int flags);
|
2006-02-09 14:08:03 +00:00
|
|
|
static void uninit(int immed);
|
|
|
|
static void reset(void);
|
|
|
|
static int get_space(void);
|
2001-06-02 23:25:43 +00:00
|
|
|
static int play(void* data,int len,int flags);
|
2006-02-09 14:08:03 +00:00
|
|
|
static float get_delay(void);
|
|
|
|
static void audio_pause(void);
|
|
|
|
static void audio_resume(void);
|
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
|
|
|
};
|
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_AUDIO_OUT_INTERNAL_H */
|