changeset 1615:41286bab50dc

cuesheet: C99 initialisers
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 04:16:47 -0500
parents cf7124d464f9
children 13ac6cc08bfa
files src/cue/cuesheet.c
diffstat 1 files changed, 11 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Fri Sep 07 04:15:24 2007 -0500
+++ b/src/cue/cuesheet.c	Fri Sep 07 04:16:47 2007 -0500
@@ -93,32 +93,17 @@
 
 InputPlugin cue_ip =
 {
-	NULL,			/* handle */
-	NULL,			/* filename */
-	"Cuesheet Plugin",	/* description */
-	cue_init,	       	/* init */
-	NULL,	       	/* about */
-	NULL,	  	   	/* configure */
-	is_our_file,
-	NULL,		/* audio cd */
-	play,
-	stop,
-	cue_pause,
-	seek,
-	NULL,		/* set eq */
-	get_time,
-	NULL,
-	NULL,
-	cue_cleanup,		/* cleanup */
-	NULL,
-	NULL,
-	NULL,
-	NULL,
-	get_song_info,	/* XXX get_song_info iface */
-	NULL,
-	NULL,
-	get_tuple,
-	NULL
+	.description = "Cuesheet Plugin",	/* description */
+	.init = cue_init,	       	/* init */
+	.is_our_file = is_our_file,
+	.play_file = play,
+	.stop = stop,
+	.pause = cue_pause,
+	.seek = seek,
+	.get_time = get_time,
+	.cleanup = cue_cleanup,		/* cleanup */
+	.get_song_info = get_song_info,	/* XXX get_song_info iface */
+	.get_tuple = get_tuple,
 };
 
 InputPlugin *cue_iplist[] = { &cue_ip, NULL };