diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-12 15:13:31 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-12 15:13:31 +0100 |
commit | 552c28241aa1e6820857f5bf8bd8bbb9ee99dd99 (patch) | |
tree | 2b611c01a7fbb1cde54a58236557c61fd9b2248e /src/xine-engine/audio_decoder.h | |
parent | b39d5d3f3e65ef7b741dc4d675dc4d91d250c25b (diff) | |
parent | a151844ec16b67d6f844c176a611d5907e15ed5c (diff) | |
download | xine-lib-552c28241aa1e6820857f5bf8bd8bbb9ee99dd99.tar.gz xine-lib-552c28241aa1e6820857f5bf8bd8bbb9ee99dd99.tar.bz2 |
Merge with 1.2-plugins-changes.
Diffstat (limited to 'src/xine-engine/audio_decoder.h')
-rw-r--r-- | src/xine-engine/audio_decoder.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/xine-engine/audio_decoder.h b/src/xine-engine/audio_decoder.h index 8f75ba242..307692b81 100644 --- a/src/xine-engine/audio_decoder.h +++ b/src/xine-engine/audio_decoder.h @@ -31,7 +31,7 @@ # include <xine/buffer.h> #endif -#define AUDIO_DECODER_IFACE_VERSION 15 +#define AUDIO_DECODER_IFACE_VERSION 16 /* * generic xine audio decoder plugin interface @@ -47,17 +47,23 @@ struct audio_decoder_class_s { */ audio_decoder_t* (*open_plugin) (audio_decoder_class_t *this, xine_stream_t *stream); - /* - * return short, human readable identifier for this plugin class + /** + * @brief short human readable identifier for this plugin class */ - char* (*get_identifier) (audio_decoder_class_t *this); + const char *identifier; - /* - * return human readable (verbose = 1 line) description for - * this plugin class + /** + * @brief human readable (verbose = 1 line) description for this plugin class + * + * The description is passed to gettext() to internationalise. */ - char* (*get_description) (audio_decoder_class_t *this); + const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * free all class-related resources */ @@ -65,6 +71,7 @@ struct audio_decoder_class_s { void (*dispose) (audio_decoder_class_t *this); }; +#define default_audio_decoder_class_dispose (void (*) (audio_decoder_class_t *this))free struct audio_decoder_s { |