diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-04-06 00:31:24 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-04-06 00:31:24 +0100 |
commit | 63cfee97af9525eaa147e62801ca50493d7ceb2f (patch) | |
tree | f89e4a28e0c95c8568fea2bbeeaab4a41d1f0a07 | |
parent | 317aec21b9ccbbc288eb428e1d74a51723a2b953 (diff) | |
download | xine-lib-63cfee97af9525eaa147e62801ca50493d7ceb2f.tar.gz xine-lib-63cfee97af9525eaa147e62801ca50493d7ceb2f.tar.bz2 |
Minimal porting of sndio to 1.2.
-rw-r--r-- | src/audio_out/audio_sndio_out.c | 16 |
1 files 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 } }; |