1 /* MikMod sound library
2 (c) 1998, 1999 Miodrag Vallat and others - see file AUTHORS for
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
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 ==============================================================================*/
33 #include "mikmod_internals.h"
35 void _mm_registeralldrivers(void)
39 /* Register network drivers */
41 _mm_registerdriver(&drv_AF
);
44 _mm_registerdriver(&drv_esd
);
47 _mm_registerdriver(&drv_nas
);
50 /* Register hardware drivers - hardware mixing */
52 _mm_registerdriver(&drv_ultra
);
55 /* Register hardware drivers - software mixing */
57 _mm_registerdriver(&drv_aix
);
60 _mm_registerdriver(&drv_alsa
);
63 _mm_registerdriver(&drv_hp
);
66 _mm_registerdriver(&drv_oss
);
69 _mm_registerdriver(&drv_sgi
);
72 _mm_registerdriver(&drv_sun
);
75 _mm_registerdriver(&drv_dart
);
78 _mm_registerdriver(&drv_os2
);
81 _mm_registerdriver(&drv_ds
);
84 _mm_registerdriver(&drv_win
);
87 _mm_registerdriver(&drv_mac
);
90 _mm_registerdriver(&drv_osx
);
93 _mm_registerdriver(&drv_gp32
);
98 /* wss first, since some cards emulate sb */
99 _mm_registerdriver(&drv_wss
);
102 _mm_registerdriver(&drv_sb
);
105 /* Register disk writers */
106 _mm_registerdriver(&drv_raw
);
107 _mm_registerdriver(&drv_wav
);
109 _mm_registerdriver(&drv_aiff
);
112 /* Register other drivers */
114 _mm_registerdriver(&drv_pipe
);
117 _mm_registerdriver(&drv_stdout
);
121 _mm_registerdriver(&drv_nos
);
124 void MikMod_RegisterAllDrivers(void)
127 _mm_registeralldrivers();