changeset 1653:c98e16576bfb

fixed TrueAudio plugin
author mf0102 <0102@gmx.at>
date Fri, 07 Sep 2007 14:32:49 +0200
parents 83050cd4d14c
children 1b5f236208d8
files src/tta/libtta.c
diffstat 1 files changed, 14 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/src/tta/libtta.c	Fri Sep 07 14:24:39 2007 +0200
+++ b/src/tta/libtta.c	Fri Sep 07 14:32:49 2007 +0200
@@ -84,36 +84,20 @@
 
 InputPlugin tta_ip =
 {
-	NULL,
-	NULL,
-	"True Audio Plugin",
-	init,
-	about,
-	NULL,
-	is_our_file,
-	NULL,
-	play_file,
-	stop,
-	tta_pause,
-	seek,
-	NULL,
-	NULL,
-	NULL,
-	NULL,
-	cleanup,
-	NULL,
-	NULL,
-	NULL,
-	NULL,
-	get_song_info,
-	file_info,
-	NULL,
-	get_song_tuple, // get_song_tuple
-	NULL, // set_song_tuple
-	NULL, // buffer
-	NULL, // vfs
-	tta_fmts,
-	mseek,
+	.description = "True Audio Plugin",
+	.init = init,
+	.about = about,
+	.is_our_file = is_our_file,
+	.play_file = play_file,
+	.stop = stop,
+	.pause = tta_pause,
+	.seek = seek,
+	.cleanup = cleanup,
+	.get_song_info = get_song_info,
+	.file_info_box = file_info,
+	.get_song_tuple = get_song_tuple,
+	.vfs_extensions = tta_fmts,
+	.mseek = mseek,
 };
 
 InputPlugin *tta_iplist[] = { &tta_ip, NULL };