changeset 807:df3412dc33c4 trunk

[svn] - add psuedo_output_plugin, a psuedo output plugin that will be used for reverse compatibility with old plugins. sort of.
author nenolod
date Wed, 08 Mar 2006 06:57:02 -0800
parents d51a251b542c
children 7a1a46811a45
files audacious/output.c audacious/output.h
diffstat 2 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/output.c	Wed Mar 08 06:47:02 2006 -0800
+++ b/audacious/output.c	Wed Mar 08 06:57:02 2006 -0800
@@ -36,6 +36,30 @@
     NULL
 };
 
+OutputPlugin psuedo_output_plugin {
+    NULL,
+    NULL,
+    "XMMS reverse compatibility output plugin",
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    output_get_volume,
+    output_set_volume,
+    NULL,			/* XXX we need noop code for this */
+    NULL,
+    NULL,
+
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    get_output_time,
+    get_written_time,
+
+    NULL
+};
+
 OutputPlugin *
 get_current_output_plugin(void)
 {
--- a/audacious/output.h	Wed Mar 08 06:47:02 2006 -0800
+++ b/audacious/output.h	Wed Mar 08 06:57:02 2006 -0800
@@ -46,6 +46,7 @@
 gint get_written_time(void);
 gint get_output_time(void);
 
+extern OutputPlugin psuedo_output_plugin;
 extern OutputPluginData op_data;
 
 #endif