From b2c55490db29a9aaae431c899e2b6806305482c0 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 16 Oct 2002 22:54:47 +0000 Subject: introduce audio/video_driver_class_t, adapt oss audio output plugin, exclude other audio output plugin from build process CVS patchset: 2841 CVS date: 2002/10/16 22:54:47 --- src/xine-engine/audio_out.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/audio_out.h') diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index 30a8e4133..42cf7889f 100644 --- a/src/xine-engine/audio_out.h +++ b/src/xine-engine/audio_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.h,v 1.36 2002/10/16 14:19:43 guenter Exp $ + * $Id: audio_out.h,v 1.37 2002/10/16 22:54:48 guenter Exp $ */ #ifndef HAVE_AUDIO_OUT_H #define HAVE_AUDIO_OUT_H @@ -234,6 +234,28 @@ struct ao_instance_s { int64_t passthrough_offset; }; +typedef struct audio_driver_class_s audio_driver_class_t; + +struct audio_driver_class_s { + + /* + * return short, human readable identifier for this plugin class + */ + char* (*get_identifier) (audio_driver_class_t *this); + + /* + * return human readable (verbose = 1 line) description for + * this plugin class + */ + char* (*get_description) (audio_driver_class_t *this); + + /* + * free all class-related resources + */ + + void (*dispose) (audio_driver_class_t *this); +}; + /* * this initiates the audio_out sync routines * found in ./src/xine-engine/audio_out.c -- cgit v1.2.3