diff src/timidity/src/xmms-timidity.c @ 1659:53adc480f9a7

fixed some more plugins
author mf0102 <0102@gmx.at>
date Fri, 07 Sep 2007 15:14:36 +0200
parents 3a252050736c
children aee4ebea943a 62e89e392227
line wrap: on
line diff
--- a/src/timidity/src/xmms-timidity.c	Fri Sep 07 14:45:34 2007 +0200
+++ b/src/timidity/src/xmms-timidity.c	Fri Sep 07 15:14:36 2007 +0200
@@ -37,34 +37,18 @@
 #include "interface.h"
 
 InputPlugin xmmstimid_ip = {
-	NULL,
-	NULL,
-	"TiMidity Audio Plugin",
-	xmmstimid_init,
-	xmmstimid_about,
-	xmmstimid_configure,
-	NULL,
-	NULL,
-	xmmstimid_play_file,
-	xmmstimid_stop,
-	xmmstimid_pause,
-	xmmstimid_seek,
-	NULL,
-	xmmstimid_get_time,
-	NULL,
-	NULL,
-	xmmstimid_cleanup,
-	NULL,
-	NULL,
-	NULL,
-	NULL,
-	xmmstimid_get_song_info,
-	NULL,
-	NULL,
-	NULL,
-	NULL,
-	NULL,
-	xmmstimid_is_our_fd,
+	.description = "TiMidity Audio Plugin",
+	.init = xmmstimid_init,
+	.about = xmmstimid_about,
+	.configure = xmmstimid_configure,
+	.play_file = xmmstimid_play_file,
+	.stop = xmmstimid_stop,
+	.pause = xmmstimid_pause,
+	.seek = xmmstimid_seek,
+	.get_time = xmmstimid_get_time,
+	.cleanup = xmmstimid_cleanup,
+	.get_song_info = xmmstimid_get_song_info,
+	.is_our_file_from_vfs = xmmstimid_is_our_fd,
 };
 
 InputPlugin *timidity_iplist[] = { &xmmstimid_ip, NULL };