view libao2/audio_plugin_internal.h @ 6319:76baa05a63ab

disables those plugins that can't handle the audio format. it also fixes a bug(and i'm pretty sure this _is_ a bug) where, when playing multiple files, after the first file only the first audio plugin is used. patch by Christian Ohm <chr.ohm@gmx.net>
author arpi
date Fri, 07 Jun 2002 00:30:32 +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,\
};