view libao2/audio_plugin_internal.h @ 5199:72817be5265f

Automatically use avcodec if it exists, otherwise fall back to fame (due to some unresolved problems with fame) Bitrate is set to a constant 6e6 Fixed a bug occuring with round() Fixed a little #elif bug that would cause compilation to fail when not compiling with avcodec
author mswitch
date Tue, 19 Mar 2002 15:08:15 +0000
parents bb1d608c73ae
children 12b1790038b0
line wrap: on
line source

// prototypes:
static int control(int cmd,int arg);
static int init();
static void uninit();
static void reset();
static int play();

#define LIBAO_PLUGIN_EXTERN(x) ao_plugin_functions_t audio_plugin_##x =\
{\
	&info,\
	control,\
	init,\
        uninit,\
	reset,\
	play,\
};