annotate playercode/mdreg.c @ 15:ca72d2b59bf4

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