8
|
1 /*
|
|
2
|
|
3 Name: MDREG.C
|
|
4
|
|
5 Description:
|
|
6 A single routine for registering all drivers in MikMod for the current
|
|
7 platform.
|
|
8
|
|
9 Portability:
|
|
10 DOS, WIN95, OS2, SunOS, Solaris,
|
|
11 Linux, HPUX, AIX, SGI, Alpha
|
|
12
|
|
13 Anything not listed above is assumed to not be supported by this procedure!
|
|
14
|
|
15 All Others: n
|
|
16
|
|
17 - all compilers!
|
|
18
|
|
19 */
|
|
20
|
|
21 #include "mikmod.h"
|
|
22
|
|
23 void MikMod_RegisterAllDrivers(void)
|
|
24 {
|
|
25
|
|
26 #ifdef SUN
|
|
27 MikMod_RegisterDriver(drv_sun);
|
|
28 #elif defined(SOLARIS)
|
|
29 MikMod_RegisterDriver(drv_sun);
|
|
30 #elif defined(__alpha)
|
|
31 MikMod_RegisterDriver(drv_AF);
|
|
32 #elif defined(OSS)
|
|
33 MikMod_RegisterDriver(drv_oss);
|
|
34 #ifdef ULTRA
|
|
35 MikMod_RegisterDriver(drv_ultra);
|
|
36 #endif /* ULTRA */
|
|
37 #elif defined(__hpux)
|
|
38 MikMod_RegisterDriver(drv_hp);
|
|
39 #elif defined(AIX)
|
|
40 MikMod_RegisterDriver(drv_aix);
|
|
41 #elif defined(SGI)
|
|
42 MikMod_RegisterDriver(drv_sgi);
|
|
43 #elif defined(__OS2__)
|
|
44 MikMod_RegisterDriver(drv_os2);
|
|
45 #elif defined(__WIN32__)
|
|
46 MikMod_RegisterDriver(drv_w95);
|
|
47 #else
|
|
48 MikMod_RegisterDriver(drv_awe);
|
|
49 MikMod_RegisterDriver(drv_gus);
|
|
50 // MikMod_RegisterDriver(drv_gus2); // use for hardware mixing only (smaller / faster)
|
|
51 MikMod_RegisterDriver(drv_pas);
|
|
52 MikMod_RegisterDriver(drv_wss);
|
|
53 MikMod_RegisterDriver(drv_ss);
|
|
54 MikMod_RegisterDriver(drv_sb16);
|
|
55 MikMod_RegisterDriver(drv_sbpro);
|
|
56 MikMod_RegisterDriver(drv_sb);
|
|
57 #endif
|
|
58
|
|
59 }
|
|
60
|
|
61
|