changeset 1084:f6fab42de168 trunk

[svn] - alsa: commit to plugin API v2
author nenolod
date Thu, 24 May 2007 23:06:58 -0700
parents 325c52b01e56
children e1b24ffdc865
files ChangeLog src/alsa/alsa.c
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 20:30:08 2007 -0700
+++ b/ChangeLog	Thu May 24 23:06:58 2007 -0700
@@ -1,3 +1,12 @@
+2007-05-25 03:30:08 +0000  Stephen Sokolow <deitarion@gmail.com>
+  revision [2332]
+  Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper)
+  The change makes sense, and a quick manual call to pkg-config looks good, but blame him if something goes wrong. 
+  
+  trunk/configure.ac |    4 ++--
+  1 file changed, 2 insertions(+), 2 deletions(-)
+
+
 2007-05-25 03:06:47 +0000  Stephen Sokolow <deitarion@gmail.com>
   revision [2330]
   Fixed a typo in the cdaudio-ng portion of configure.ac as discovered by Crazy_Hopper.
--- a/src/alsa/alsa.c	Thu May 24 20:30:08 2007 -0700
+++ b/src/alsa/alsa.c	Thu May 24 23:06:58 2007 -0700
@@ -23,7 +23,7 @@
 {
 	NULL,
 	NULL,
-	NULL,
+	"ALSA Output Plugin",
 	alsa_init,
 	alsa_cleanup,
 	alsa_about,
@@ -42,12 +42,9 @@
 	alsa_tell
 };
 
-OutputPlugin *get_oplugin_info(void)
-{
-	alsa_op.description = g_strdup_printf(_("ALSA %s output plugin"), VERSION);
-	return &alsa_op;
-}
+OutputPlugin *alsa_oplist[] = { &alsa_op, NULL };
 
+DECLARE_PLUGIN(alsa, NULL, NULL, NULL, alsa_oplist, NULL, NULL, NULL)
 
 void alsa_cleanup(void)
 {