Mercurial > audlegacy-plugins
comparison src/sexypsf/plugin.c @ 1613:4eeeef9adab3
sexypsf: C99 initialisers
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Fri, 07 Sep 2007 04:12:39 -0500 |
| parents | 331b0614951b |
| children | aa40f1404257 |
comparison
equal
deleted
inserted
replaced
| 1612:4c7d549bb593 | 1613:4eeeef9adab3 |
|---|---|
| 261 | 261 |
| 262 gchar *sexypsf_fmts[] = { "psf", "minipsf", NULL }; | 262 gchar *sexypsf_fmts[] = { "psf", "minipsf", NULL }; |
| 263 | 263 |
| 264 InputPlugin sexypsf_ip = | 264 InputPlugin sexypsf_ip = |
| 265 { | 265 { |
| 266 NULL, | 266 .description = "PSF Audio Plugin", |
| 267 NULL, | 267 .play_file = sexypsf_xmms_play, |
| 268 "PSF Audio Plugin", | 268 .stop = sexypsf_xmms_stop, |
| 269 NULL, | 269 .pause = sexypsf_xmms_pause, |
| 270 NULL, | 270 .seek = sexypsf_xmms_seek, |
| 271 NULL, | 271 .get_time = sexypsf_xmms_gettime, |
| 272 NULL, | 272 .get_song_info = sexypsf_xmms_getsonginfo, |
| 273 NULL, | 273 .get_song_tuple = get_tuple_psf, |
| 274 sexypsf_xmms_play, | 274 .is_our_file_from_vfs = is_our_fd, |
| 275 sexypsf_xmms_stop, | 275 .vfs_extensions = sexypsf_fmts, |
| 276 sexypsf_xmms_pause, | |
| 277 sexypsf_xmms_seek, | |
| 278 NULL, | |
| 279 sexypsf_xmms_gettime, | |
| 280 NULL, | |
| 281 NULL, | |
| 282 NULL, | |
| 283 NULL, | |
| 284 NULL, | |
| 285 NULL, | |
| 286 NULL, | |
| 287 sexypsf_xmms_getsonginfo, | |
| 288 NULL, | |
| 289 NULL, | |
| 290 get_tuple_psf, | |
| 291 NULL, | |
| 292 NULL, | |
| 293 is_our_fd, | |
| 294 sexypsf_fmts, | |
| 295 }; | 276 }; |
| 296 | 277 |
| 297 InputPlugin *sexypsf_iplist[] = { &sexypsf_ip, NULL }; | 278 InputPlugin *sexypsf_iplist[] = { &sexypsf_ip, NULL }; |
| 298 | 279 |
| 299 DECLARE_PLUGIN(sexypsf, NULL, NULL, sexypsf_iplist, NULL, NULL, NULL, NULL, NULL); | 280 DECLARE_PLUGIN(sexypsf, NULL, NULL, sexypsf_iplist, NULL, NULL, NULL, NULL, NULL); |
