# HG changeset patch # User nenolod # Date 1141829822 28800 # Node ID df3412dc33c4dab999fbc30f66b233d76c68c093 # Parent d51a251b542cdc16f4760737ccbc282e856a5cc5 [svn] - add psuedo_output_plugin, a psuedo output plugin that will be used for reverse compatibility with old plugins. sort of. diff -r d51a251b542c -r df3412dc33c4 audacious/output.c --- 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) { diff -r d51a251b542c -r df3412dc33c4 audacious/output.h --- 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