Mercurial > hg > xmms-sid
comparison src/xs_init.c @ 3:279b1e12df2b
Updated to version 0.8-devel
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Jun 2003 11:00:02 +0000 |
parents | 183e7cbc1036 |
children | 271be59be975 |
comparison
equal
deleted
inserted
replaced
2:041bebb28dc0 | 3:279b1e12df2b |
---|---|
1 /* | 1 /* |
2 xmms-sid - SIDPlay input plugin for X MultiMedia System (XMMS) | 2 XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS) |
3 | 3 |
4 Plugin initialization point | 4 Plugin initialization point |
5 | 5 |
6 Written by Matti "ccr" Hamalainen <mhamalai@ratol.fi> | 6 Written by Matti "ccr" Hamalainen <ccr@tnsp.org> |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 2 of the License, or | 10 the Free Software Foundation; either version 2 of the License, or |
11 (at your option) any later version. | 11 (at your option) any later version. |
21 */ | 21 */ |
22 | 22 |
23 #include "xmms-sid.h" | 23 #include "xmms-sid.h" |
24 | 24 |
25 | 25 |
26 InputPlugin xmms_sid_ip = | 26 InputPlugin xs_plugin_ip = { |
27 { | 27 NULL, /* FILLED BY XMMS */ |
28 NULL, | 28 NULL, /* FILLED BY XMMS */ |
29 NULL, | 29 XMMS_SID_NAME " " VERSION, /* Plugin description */ |
30 "xmms-sid SIDPlay plugin " VERSION, | 30 xs_init, /* Initialization */ |
31 xs_init, | 31 xs_aboutbox, /* Show aboutbox */ |
32 xs_aboutbox, | 32 xs_configure, /* Show/edit configuration */ |
33 xs_configure, | 33 xs_is_our_file, /* Check file */ |
34 xs_is_our_file, | 34 NULL, /* Scan directory */ |
35 NULL, | 35 xs_play_file, /* Play given file */ |
36 xs_play_file, | 36 xs_stop, /* Stop playing */ |
37 xs_stop, | 37 xs_pause, /* Pause playing */ |
38 xs_pause, | 38 xs_seek, /* Seek time */ |
39 xs_seek, | 39 NULL, /* Set equalizer */ |
40 NULL, /* mpg123_set_eq, */ | 40 xs_get_time, /* Get playing time */ |
41 xs_get_time, | 41 NULL, /* Get volume */ |
42 NULL, NULL, NULL, | 42 NULL, /* Set volume */ |
43 NULL, NULL, NULL, NULL, | 43 xs_close, /* Cleanup */ |
44 xs_get_song_info, | 44 NULL, /* OBSOLETE! */ |
45 xs_file_info_box, | 45 NULL, /* Send data to Visualization plugin */ |
46 NULL | 46 NULL, NULL, /* FILLED BY XMMS */ |
47 xs_get_song_info, /* Get song title and length */ | |
48 | |
49 NULL, // xs_fileinfo_dialog, /* Show file-information dialog */ | |
50 | |
51 NULL /* FILLED BY XMMS */ | |
47 }; | 52 }; |
48 | 53 |
49 | 54 |
50 | 55 |
51 /* | 56 /* |
52 * Return xmms-sid plugin information | 57 * Return plugin information |
53 */ | 58 */ |
54 InputPlugin * get_iplugin_info(void) | 59 InputPlugin *get_iplugin_info(void) |
55 { | 60 { |
56 return &xmms_sid_ip; | 61 return &xs_plugin_ip; |
57 } | 62 } |
63 |