diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 10:58:08 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 10:58:08 +0100 |
commit | 051c26d8e93ce4eacf071c068b32fe9c06b3739d (patch) | |
tree | f516710a35fc0f7a25c9946821d492c110de2c52 /src/audio_out/audio_pulse_out.c | |
parent | 60e025ce15431f04955502084bc54c18d69c7d6a (diff) | |
download | xine-lib-051c26d8e93ce4eacf071c068b32fe9c06b3739d.tar.gz xine-lib-051c26d8e93ce4eacf071c068b32fe9c06b3739d.tar.bz2 |
Leave to the plugin the call to gettext exactly as before.
This way external plugins can use their own gettext catalog for i18n.
Diffstat (limited to 'src/audio_out/audio_pulse_out.c')
-rw-r--r-- | src/audio_out/audio_pulse_out.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/audio_out/audio_pulse_out.c b/src/audio_out/audio_pulse_out.c index 26d121bf6..a853ee58a 100644 --- a/src/audio_out/audio_pulse_out.c +++ b/src/audio_out/audio_pulse_out.c @@ -574,14 +574,6 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, const void *da * class functions */ -static char* get_identifier (audio_driver_class_t *this_gen) { - return "pulseaudio"; -} - -static char* get_description (audio_driver_class_t *this_gen) { - return _("xine audio output plugin using pulseaudio sound server"); -} - static void dispose_class (audio_driver_class_t *this_gen) { pulse_class_t *this = (pulse_class_t *) this_gen; @@ -606,9 +598,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 = "pulseaudio"; + this->driver_class.description = _("xine audio output plugin using pulseaudio sound server"); this->xine = xine; |