DEADSOFTWARE

add stub sound driver
[d2df-sdl.git] / src / engine / e_sound.pas
1 (* Copyright (C) Doom 2D: Forever Developers
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, version 3 of the License ONLY.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 *)
15 {$INCLUDE ../shared/a_modes.inc}
16 unit e_sound;
18 {$IF DEFINED(USE_SDLMIXER)}
19 {$I e_sound_sdl.inc}
20 {$ELSEIF DEFINED(USE_OPENAL)}
21 {$I e_sound_al.inc}
22 {$ELSEIF DEFINED(USE_FMOD)}
23 {$I e_sound_fmod.inc}
24 {$ELSEIF DEFINED(USE_SOUNDSTUB)}
25 {$I e_sound_stub.inc}
26 {$ELSE}
27 {$ERROR e_sound driver not implemented?}
28 {$ENDIF}