view libao2/audio_plugin_internal.h @ 5239:fe6b890f68f2

Fix crash when playing multiple files. The bug was triggered when the first file had rgb data and the second had yuv data and sdl:aalib was used. Some code duplication removed in the process.
author ksorim
date Thu, 21 Mar 2002 10:22:55 +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,\
};