summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-10-16 22:54:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-10-16 22:54:47 +0000
commitb2c55490db29a9aaae431c899e2b6806305482c0 (patch)
treeb75b328e18c3885c443b16982b74ec7ed1036cc3 /src/xine-engine/audio_out.h
parent3156b0d743d15ad39978713167e375373265fdfc (diff)
downloadxine-lib-b2c55490db29a9aaae431c899e2b6806305482c0.tar.gz
xine-lib-b2c55490db29a9aaae431c899e2b6806305482c0.tar.bz2
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
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r--src/xine-engine/audio_out.h24
1 files changed, 23 insertions, 1 deletions
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