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