diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-12 22:39:58 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-12 22:39:58 +0100 |
commit | 44234828cf17a0a302975dc3f5f8b671f86a8ac2 (patch) | |
tree | 43d3917bb441eb7b85d3d6bc443162406e7958ba /src/xine-engine/audio_decoder.h | |
parent | 6514a174a7036d285da2faae55d1e4cecb7ea310 (diff) | |
parent | 552c28241aa1e6820857f5bf8bd8bbb9ee99dd99 (diff) | |
download | xine-lib-44234828cf17a0a302975dc3f5f8b671f86a8ac2.tar.gz xine-lib-44234828cf17a0a302975dc3f5f8b671f86a8ac2.tar.bz2 |
Merge from 1.2 main.
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 { |