summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/audio_decoder.h')
-rw-r--r--src/xine-engine/audio_decoder.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/xine-engine/audio_decoder.h b/src/xine-engine/audio_decoder.h
index 2fd3fcf7f..fff415312 100644
--- a/src/xine-engine/audio_decoder.h
+++ b/src/xine-engine/audio_decoder.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_decoder.h,v 1.4 2002/10/14 20:50:17 guenter Exp $
+ * $Id: audio_decoder.h,v 1.5 2002/10/17 17:43:44 mroi Exp $
*
* xine audio decoder plugin interface
*
@@ -36,10 +36,16 @@
*/
typedef struct audio_decoder_class_s audio_decoder_class_t;
+typedef struct audio_decoder_s audio_decoder_t;
struct audio_decoder_class_s {
/*
+ * open a new instance of this plugin class
+ */
+ audio_decoder_t* (*open_plugin) (audio_decoder_class_t *this, xine_stream_t *stream);
+
+ /*
* return short, human readable identifier for this plugin class
*/
char* (*get_identifier) (audio_decoder_class_t *this);
@@ -54,12 +60,10 @@ struct audio_decoder_class_s {
* free all class-related resources
*/
- void (*dispose) (video_decoder_class_t *this);
+ void (*dispose) (audio_decoder_class_t *this);
};
-typedef struct audio_decoder_s audio_decoder_t;
-
struct audio_decoder_s {
/*