1
|
1 /*
|
3
|
2 XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS)
|
1
|
3
|
|
4 Plugin initialization point
|
|
5
|
3
|
6 Written by Matti "ccr" Hamalainen <ccr@tnsp.org>
|
1
|
7
|
|
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
|
|
10 the Free Software Foundation; either version 2 of the License, or
|
|
11 (at your option) any later version.
|
|
12
|
|
13 This program is distributed in the hope that it will be useful,
|
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 GNU General Public License for more details.
|
|
17
|
|
18 You should have received a copy of the GNU General Public License
|
|
19 along with this program; if not, write to the Free Software
|
|
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
21 */
|
|
22
|
|
23 #include "xmms-sid.h"
|
|
24
|
|
25
|
3
|
26 InputPlugin xs_plugin_ip = {
|
|
27 NULL, /* FILLED BY XMMS */
|
|
28 NULL, /* FILLED BY XMMS */
|
|
29 XMMS_SID_NAME " " VERSION, /* Plugin description */
|
|
30 xs_init, /* Initialization */
|
|
31 xs_aboutbox, /* Show aboutbox */
|
|
32 xs_configure, /* Show/edit configuration */
|
|
33 xs_is_our_file, /* Check file */
|
|
34 NULL, /* Scan directory */
|
|
35 xs_play_file, /* Play given file */
|
|
36 xs_stop, /* Stop playing */
|
|
37 xs_pause, /* Pause playing */
|
|
38 xs_seek, /* Seek time */
|
|
39 NULL, /* Set equalizer */
|
|
40 xs_get_time, /* Get playing time */
|
|
41 NULL, /* Get volume */
|
|
42 NULL, /* Set volume */
|
|
43 xs_close, /* Cleanup */
|
|
44 NULL, /* OBSOLETE! */
|
|
45 NULL, /* Send data to Visualization plugin */
|
|
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 */
|
1
|
52 };
|
|
53
|
|
54
|
|
55
|
|
56 /*
|
3
|
57 * Return plugin information
|
|
58 */
|
|
59 InputPlugin *get_iplugin_info(void)
|
1
|
60 {
|
3
|
61 return &xs_plugin_ip;
|
1
|
62 }
|
3
|
63
|