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/audio_out/audio_file_out.c | |
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/audio_out/audio_file_out.c')
-rw-r--r-- | src/audio_out/audio_file_out.c | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/src/audio_out/audio_file_out.c b/src/audio_out/audio_file_out.c index 225d64d0e..fda5ec7df 100644 --- a/src/audio_out/audio_file_out.c +++ b/src/audio_out/audio_file_out.c @@ -36,7 +36,7 @@ #include "audio_out.h" #include "bswap.h" -#define AO_OUT_FILE_IFACE_VERSION 8 +#define AO_OUT_FILE_IFACE_VERSION 9 #define GAP_TOLERANCE INT_MAX @@ -353,22 +353,6 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, /* * class functions */ - -static char* get_identifier (audio_driver_class_t *this_gen) { - return "file"; -} - -static char* get_description (audio_driver_class_t *this_gen) { - return _("xine file audio output plugin"); -} - -static void dispose_class (audio_driver_class_t *this_gen) { - - file_class_t *this = (file_class_t *) this_gen; - - free (this); -} - static void *init_class (xine_t *xine, void *data) { file_class_t *this; @@ -380,9 +364,9 @@ static void *init_class (xine_t *xine, void *data) { return NULL; this->driver_class.open_plugin = open_plugin; - this->driver_class.get_identifier = get_identifier; - this->driver_class.get_description = get_description; - this->driver_class.dispose = dispose_class; + this->driver_class.identifier = "file"; + this->driver_class.description = N_("xine file audio output plugin"); + this->driver_class.dispose = default_audio_driver_class_dispose; this->config = xine->config; this->xine = xine; |