summaryrefslogtreecommitdiff
path: root/apps/plugins/mikmod/mlreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mikmod/mlreg.c')
-rw-r--r--apps/plugins/mikmod/mlreg.c66
1 files changed, 66 insertions, 0 deletions
diff --git a/apps/plugins/mikmod/mlreg.c b/apps/plugins/mikmod/mlreg.c
new file mode 100644
index 0000000000..e57e82553b
--- /dev/null
+++ b/apps/plugins/mikmod/mlreg.c
@@ -0,0 +1,66 @@
1/* MikMod sound library
2 (c) 1998, 1999 Miodrag Vallat and others - see file AUTHORS for
3 complete list.
4
5 This library is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of
8 the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 02111-1307, USA.
19*/
20
21/*==============================================================================
22
23 $Id: mlreg.c,v 1.2 2005/03/30 19:11:34 realtech Exp $
24
25 Routine for registering all loaders in libmikmod for the current platform.
26
27==============================================================================*/
28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include "mikmod_internals.h"
34
35void MikMod_RegisterAllLoaders_internal(void)
36{
37 _mm_registerloader(&load_669);
38 _mm_registerloader(&load_amf);
39 _mm_registerloader(&load_asy);
40 _mm_registerloader(&load_dsm);
41 _mm_registerloader(&load_far);
42 _mm_registerloader(&load_gdm);
43 _mm_registerloader(&load_gt2);
44 _mm_registerloader(&load_it);
45 _mm_registerloader(&load_imf);
46 _mm_registerloader(&load_mod);
47 _mm_registerloader(&load_med);
48 _mm_registerloader(&load_mtm);
49 _mm_registerloader(&load_okt);
50 _mm_registerloader(&load_s3m);
51 _mm_registerloader(&load_stm);
52 _mm_registerloader(&load_stx);
53 _mm_registerloader(&load_ult);
54 _mm_registerloader(&load_uni);
55 _mm_registerloader(&load_xm);
56
57 _mm_registerloader(&load_m15);
58}
59
60void MikMod_RegisterAllLoaders(void)
61{
62 MUTEX_LOCK(lists);
63 MikMod_RegisterAllLoaders_internal();
64 MUTEX_UNLOCK(lists);
65}
66/* ex:set ts=4: */