Manual: Fix part 1 of FS#11874 - touchscreen region in the manual isn't 100% correct.
[kugel-rb.git] / apps / plugins / mikmod / mdreg.c
blob8385e15ff5d3281f857f3184fb7f2e65518af7ea
1 /* MikMod sound library
2 (c) 1998, 1999 Miodrag Vallat and others - see file AUTHORS for
3 complete list.
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.
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.
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.
21 /*==============================================================================
23 $Id: mdreg.c,v 1.2 2005/03/30 19:11:13 realtech Exp $
25 Routine for registering all drivers in libmikmod for the current platform.
27 ==============================================================================*/
29 #ifdef HAVE_CONFIG_H
30 #include "config.h"
31 #endif
33 #include "mikmod_internals.h"
35 void _mm_registeralldrivers(void)
37 #if 0
39 /* Register network drivers */
40 #ifdef DRV_AF
41 _mm_registerdriver(&drv_AF);
42 #endif
43 #ifdef DRV_ESD
44 _mm_registerdriver(&drv_esd);
45 #endif
46 #ifdef DRV_NAS
47 _mm_registerdriver(&drv_nas);
48 #endif
50 /* Register hardware drivers - hardware mixing */
51 #ifdef DRV_ULTRA
52 _mm_registerdriver(&drv_ultra);
53 #endif
55 /* Register hardware drivers - software mixing */
56 #ifdef DRV_AIX
57 _mm_registerdriver(&drv_aix);
58 #endif
59 #ifdef DRV_ALSA
60 _mm_registerdriver(&drv_alsa);
61 #endif
62 #ifdef DRV_HP
63 _mm_registerdriver(&drv_hp);
64 #endif
65 #ifdef DRV_OSS
66 _mm_registerdriver(&drv_oss);
67 #endif
68 #ifdef DRV_SGI
69 _mm_registerdriver(&drv_sgi);
70 #endif
71 #ifdef DRV_SUN
72 _mm_registerdriver(&drv_sun);
73 #endif
74 #ifdef DRV_DART
75 _mm_registerdriver(&drv_dart);
76 #endif
77 #ifdef DRV_OS2
78 _mm_registerdriver(&drv_os2);
79 #endif
80 #ifdef DRV_DS
81 _mm_registerdriver(&drv_ds);
82 #endif
83 #ifdef DRV_WIN
84 _mm_registerdriver(&drv_win);
85 #endif
86 #ifdef DRV_MAC
87 _mm_registerdriver(&drv_mac);
88 #endif
89 #ifdef DRV_OSX
90 _mm_registerdriver(&drv_osx);
91 #endif
92 #ifdef DRV_GP32
93 _mm_registerdriver(&drv_gp32);
94 #endif
96 /* dos drivers */
97 #ifdef DRV_WSS
98 /* wss first, since some cards emulate sb */
99 _mm_registerdriver(&drv_wss);
100 #endif
101 #ifdef DRV_SB
102 _mm_registerdriver(&drv_sb);
103 #endif
105 /* Register disk writers */
106 _mm_registerdriver(&drv_raw);
107 _mm_registerdriver(&drv_wav);
108 #ifdef DRV_AIFF
109 _mm_registerdriver(&drv_aiff);
110 #endif
112 /* Register other drivers */
113 #ifdef DRV_PIPE
114 _mm_registerdriver(&drv_pipe);
115 #endif
116 #ifndef macintosh
117 _mm_registerdriver(&drv_stdout);
118 #endif
120 #endif
121 _mm_registerdriver(&drv_nos);
124 void MikMod_RegisterAllDrivers(void)
126 MUTEX_LOCK(lists);
127 _mm_registeralldrivers();
128 MUTEX_UNLOCK(lists);
131 /* ex:set ts=4: */