Mercurial > audlegacy-plugins
annotate src/sid/xs_init.c @ 3088:27e2dbb89226
xspf: add XML entity encoding into xspf_add_node for string nodes.
author | Jussi Judin <jjudin+audacious@iki.fi> |
---|---|
date | Thu, 30 Apr 2009 06:14:00 -0500 |
parents | 08e905b6da9b |
children |
rev | line source |
---|---|
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
1 /* |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
2 XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS) |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
3 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
4 Plugin initialization point |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
5 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
6 Programmed and designed by Matti 'ccr' Hamalainen <ccr@tnsp.org> |
735
6c3c7b841382
[svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents:
463
diff
changeset
|
7 (C) Copyright 1999-2007 Tecnic Software productions (TNSP) |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
8 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
9 This program is free software; you can redistribute it and/or modify |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
10 it under the terms of the GNU General Public License as published by |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
11 the Free Software Foundation; either version 2 of the License, or |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
12 (at your option) any later version. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
13 |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
14 This program is distributed in the hope that it will be useful, |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
15 but WITHOUT ANY WARRANTY; without even the implied warranty of |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
17 GNU General Public License for more details. |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
18 |
735
6c3c7b841382
[svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents:
463
diff
changeset
|
19 You should have received a copy of the GNU General Public License along |
6c3c7b841382
[svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents:
463
diff
changeset
|
20 with this program; if not, write to the Free Software Foundation, Inc., |
6c3c7b841382
[svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents:
463
diff
changeset
|
21 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
22 */ |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
23 #include "xmms-sid.h" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
24 #include "xs_config.h" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
25 #include "xs_fileinfo.h" |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
26 |
735
6c3c7b841382
[svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents:
463
diff
changeset
|
27 static gchar *xs_sid_fmts[] = { "sid", "psid", NULL }; |
6c3c7b841382
[svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents:
463
diff
changeset
|
28 |
377 | 29 |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
30 InputPlugin xs_plugin_ip = { |
2560
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
31 .description = XS_PACKAGE_STRING, /* Plugin description */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
32 .init = xs_init, /* Initialization */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
33 .cleanup = xs_close, /* Cleanup */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
34 .about = xs_about, /* Show aboutbox */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
35 .configure = xs_configure, /* Show/edit configuration */ |
1625 | 36 |
2560
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
37 .play_file = xs_play_file, /* Play given file */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
38 .stop = xs_stop, /* Stop playing */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
39 .pause = xs_pause, /* Pause playing */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
40 .seek = xs_seek, /* Seek time */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
41 .get_time = xs_get_time, /* Get playing time */ |
1625 | 42 |
2560
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
43 .file_info_box = xs_fileinfo, /* Show file-information dialog */ |
1625 | 44 |
2560
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
45 .get_song_tuple = xs_get_song_tuple,/* Get Tuple */ |
93c13b167f74
Cosmetics: align comments properly.
Matti Hamalainen <ccr@tnsp.org>
parents:
2509
diff
changeset
|
46 .vfs_extensions = xs_sid_fmts, /* File ext assist */ |
2509
1223e8510d8a
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
2175
diff
changeset
|
47 .probe_for_tuple = xs_probe_for_tuple, |
1223e8510d8a
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
2175
diff
changeset
|
48 .have_subtune = TRUE |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
49 }; |
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
50 |
1625 | 51 static InputPlugin *sid_iplist[] = { &xs_plugin_ip, NULL }; |
0
13389e613d67
[svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff
changeset
|
52 |
2923
08e905b6da9b
Use SIMPLE_INPUT_PLUGIN macro.
Matti Hamalainen <ccr@tnsp.org>
parents:
2560
diff
changeset
|
53 SIMPLE_INPUT_PLUGIN(sid, sid_iplist); |