diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 11:48:44 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 11:48:44 +0100 |
commit | 3a4daf90fdd45ed0e0c896ee87d7dae6c8a02683 (patch) | |
tree | 0230d2c38a18ba12dc526d8170c1641ea7fc3522 /src/audio_out/audio_esd_out.c | |
parent | 6965b6d4998a38ddd8bc65c755a2668d51c52451 (diff) | |
download | xine-lib-3a4daf90fdd45ed0e0c896ee87d7dae6c8a02683.tar.gz xine-lib-3a4daf90fdd45ed0e0c896ee87d7dae6c8a02683.tar.bz2 |
Update all audio output plugins to the new identifier/description interface.
Diffstat (limited to 'src/audio_out/audio_esd_out.c')
-rw-r--r-- | src/audio_out/audio_esd_out.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/audio_out/audio_esd_out.c b/src/audio_out/audio_esd_out.c index 4b209bea1..b7b6a2baa 100644 --- a/src/audio_out/audio_esd_out.c +++ b/src/audio_out/audio_esd_out.c @@ -564,14 +564,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 "esd"; -} - -static char* get_description (audio_driver_class_t *this_gen) { - return _("xine audio output plugin using esound"); -} - static void dispose_class (audio_driver_class_t *this_gen) { esd_class_t *this = (esd_class_t *) this_gen; @@ -588,8 +580,8 @@ 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.identifier = "esd"; + this->driver_class.description = _("xine audio output plugin using esound"); this->driver_class.dispose = dispose_class; this->xine = xine; |