comparison src/tta/libtta.c @ 1087:08979ba252ff trunk

[svn] - tta: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:10:18 -0700
parents d0d99b22e393
children 949457464b28
comparison
equal deleted inserted replaced
1086:cd854e8ced20 1087:08979ba252ff
86 86
87 InputPlugin tta_ip = 87 InputPlugin tta_ip =
88 { 88 {
89 NULL, 89 NULL,
90 NULL, 90 NULL,
91 NULL, 91 "True Audio Plugin",
92 init, 92 init,
93 about, 93 about,
94 NULL, 94 NULL,
95 is_our_file, 95 is_our_file,
96 NULL, 96 NULL,
115 NULL, // buffer 115 NULL, // buffer
116 NULL, // vfs 116 NULL, // vfs
117 tta_fmts, 117 tta_fmts,
118 }; 118 };
119 119
120 InputPlugin * 120 InputPlugin *tta_iplist[] = { &tta_ip, NULL };
121 get_iplugin_info (void) 121
122 { 122 DECLARE_PLUGIN(tta, NULL, NULL, tta_iplist, NULL, NULL, NULL, NULL);
123 tta_ip.description = g_strdup_printf ("True Audio Plugin %s", PLUGIN_VERSION);
124 return &tta_ip;
125 }
126 123
127 size_t 124 size_t
128 file_size (char *filename) 125 file_size (char *filename)
129 { 126 {
130 VFSFile *f; 127 VFSFile *f;