view libao2/audio_out_internal.h @ 14337:d4a00d0614fb

1.814: sstep is usually inaccurate. 1.815: use a configurable-size ringbuffer instead of a pipe for buffering key events. 1.816: better explain -nodouble. 1.817: Add a file= suboption to set output file. (md5sum) 1.818: keyframes are more like 10 - 20 seconds apart, not 120 (was already corrected) 1.819: Some fixes and better wording, remove alsa9 and alsa1x audio output drivers and make some numeric options line up properly. 1.820: better mention -vo yuv4mpeg can change output filename
author kraymer
date Mon, 03 Jan 2005 21:19:13 +0000
parents 12b1790038b0
children f580a7755ac5
line wrap: on
line source


// prototypes:
//static ao_info_t info;
static int control(int cmd, void *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\
};