Mercurial > audlegacy-plugins
changeset 1626:5489738a454f
Automated merge with ssh://hg.atheme.org//hg/audacious-plugins
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 07 Sep 2007 12:47:58 +0300 |
parents | 99188e0c8959 (diff) db87d84ed8f3 (current diff) |
children | 3310b27b9ee3 81ae3fcc9673 |
files | |
diffstat | 1 files changed, 19 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sid/xs_init.c Fri Sep 07 04:46:45 2007 -0500 +++ b/src/sid/xs_init.c Fri Sep 07 12:47:58 2007 +0300 @@ -28,38 +28,26 @@ InputPlugin xs_plugin_ip = { - NULL, /* FILLED BY XMMS */ - NULL, /* FILLED BY XMMS */ - XS_PACKAGE_STRING, /* Plugin description */ - xs_init, /* Initialization */ - xs_about, /* Show aboutbox */ - xs_configure, /* Show/edit configuration */ - xs_is_our_file, /* Check file */ - NULL, /* Scan directory */ - xs_play_file, /* Play given file */ - xs_stop, /* Stop playing */ - xs_pause, /* Pause playing */ - xs_seek, /* Seek time */ - NULL, /* Set equalizer */ - xs_get_time, /* Get playing time */ - NULL, /* Get volume */ - NULL, /* Set volume */ - xs_close, /* Cleanup */ - NULL, /* OBSOLETE! */ - NULL, /* Send data to Visualization plugin */ - NULL, NULL, /* FILLED BY XMMS */ - NULL, /* Get song title and length */ - xs_fileinfo, /* Show file-information dialog */ - NULL, /* FILLED BY XMMS */ - xs_get_song_tuple, /* Get Tuple */ - NULL, /* Set Tuple */ - NULL, /* Buffering status */ - xs_is_our_file_vfs, /* VFS */ - xs_sid_fmts, /* File ext assist */ - NULL, /* ms accurate seek, mseek() */ - NULL /* Probe for tuple */ + .description = XS_PACKAGE_STRING, /* Plugin description */ + .init = xs_init, /* Initialization */ + .cleanup = xs_close, /* Cleanup */ + .about = xs_about, /* Show aboutbox */ + .configure = xs_configure, /* Show/edit configuration */ + + .play_file = xs_play_file, /* Play given file */ + .stop = xs_stop, /* Stop playing */ + .pause = xs_pause, /* Pause playing */ + .seek = xs_seek, /* Seek time */ + .get_time = xs_get_time, /* Get playing time */ + + .file_info_box = xs_fileinfo, /* Show file-information dialog */ + + .get_song_tuple = xs_get_song_tuple, /* Get Tuple */ + .is_our_file = xs_is_our_file, /* Check file */ + .is_our_file_from_vfs = xs_is_our_file_vfs, /* VFS */ + .vfs_extensions = xs_sid_fmts, /* File ext assist */ }; -InputPlugin *sid_iplist[] = { &xs_plugin_ip, NULL }; +static InputPlugin *sid_iplist[] = { &xs_plugin_ip, NULL }; DECLARE_PLUGIN(sid, NULL, NULL, sid_iplist, NULL, NULL, NULL, NULL, NULL);