diff src/xs_init.c @ 3:279b1e12df2b

Updated to version 0.8-devel
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Jun 2003 11:00:02 +0000
parents 183e7cbc1036
children 271be59be975
line wrap: on
line diff
--- a/src/xs_init.c	Tue Jun 03 10:29:02 2003 +0000
+++ b/src/xs_init.c	Tue Jun 03 11:00:02 2003 +0000
@@ -1,9 +1,9 @@
 /*  
-   xmms-sid - SIDPlay input plugin for X MultiMedia System (XMMS)
+   XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS)
 
    Plugin initialization point
    
-   Written by Matti "ccr" Hamalainen <mhamalai@ratol.fi>
+   Written by Matti "ccr" Hamalainen <ccr@tnsp.org>
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -23,35 +23,41 @@
 #include "xmms-sid.h"
 
 
-InputPlugin xmms_sid_ip =
-{
-	NULL,
-	NULL,
-	"xmms-sid SIDPlay plugin " VERSION,
-	xs_init,
-	xs_aboutbox,
-	xs_configure,
-	xs_is_our_file,
-	NULL,
-	xs_play_file,
-	xs_stop,
-	xs_pause,
-	xs_seek,
-	NULL,		/*	mpg123_set_eq, */
-	xs_get_time,
-	NULL, NULL, NULL,
-	NULL, NULL, NULL, NULL,
-	xs_get_song_info,
-	xs_file_info_box,
-	NULL
+InputPlugin xs_plugin_ip = {
+	NULL,			/* FILLED BY XMMS */
+	NULL,			/* FILLED BY XMMS */
+	XMMS_SID_NAME " " VERSION,	/* Plugin description */
+	xs_init,		/* Initialization */
+	xs_aboutbox,		/* Show aboutbox */
+	xs_configure,		/* Show/edit configuration */
+	xs_is_our_file,		/* Check file */
+	NULL,			/* Scan directory */
+	xs_play_file,		/* Play given file */
+	xs_stop,		/* Stop playing */
+	xs_pause,		/* Pause playing */
+	xs_seek,		/* Seek time */
+	NULL,			/* Set equalizer */
+	xs_get_time,		/* Get playing time */
+	NULL,			/* Get volume */
+	NULL,			/* Set volume */
+	xs_close,		/* Cleanup */
+	NULL,			/* OBSOLETE! */
+	NULL,			/* Send data to Visualization plugin */
+	NULL, NULL,		/* FILLED BY XMMS */
+	xs_get_song_info,	/* Get song title and length */
+
+	NULL,	//	xs_fileinfo_dialog,	/* Show file-information dialog */
+
+	NULL			/* FILLED BY XMMS */
 };
 
 
 
 /*
- * Return xmms-sid plugin information
- */	
-InputPlugin * get_iplugin_info(void)
+ * Return plugin information
+ */
+InputPlugin *get_iplugin_info(void)
 {
-	return &xmms_sid_ip;
+ return &xs_plugin_ip;
 }
+