From 63cfee97af9525eaa147e62801ca50493d7ceb2f Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Mon, 6 Apr 2009 00:31:24 +0100 Subject: Minimal porting of sndio to 1.2. --- src/audio_out/audio_sndio_out.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/audio_out/audio_sndio_out.c b/src/audio_out/audio_sndio_out.c index 7c3040e6e..7ee371b5d 100644 --- a/src/audio_out/audio_sndio_out.c +++ b/src/audio_out/audio_sndio_out.c @@ -358,16 +358,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 "sndio"; -} - -static char* get_description (audio_driver_class_t *this_gen) -{ - return _("xine audio output plugin using sndio audio devices/drivers "); -} - static void dispose_class (audio_driver_class_t *this_gen) { sndio_class_t *this = (sndio_class_t *) this_gen; @@ -386,8 +376,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 = "sndio"; + this->driver_class.description = N_("xine audio output plugin using sndio audio devices/drivers "); this->driver_class.dispose = dispose_class; this->xine = xine; @@ -405,6 +395,6 @@ static const ao_info_t ao_info_sndio = { const plugin_info_t xine_plugin_info[] EXPORTED = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_AUDIO_OUT, 8, "sndio", XINE_VERSION_CODE, &ao_info_sndio, init_class }, + { PLUGIN_AUDIO_OUT, 9, "sndio", XINE_VERSION_CODE, &ao_info_sndio, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; -- cgit v1.2.3