diff --git a/src/engine/e_sound.pas b/src/engine/e_sound.pas
index 221c5ea5613159404d92c4fa8816d14e5185e2e1..790dc0a65d41a6cadbacadce2a7055f9b2648602 100644 (file)
--- a/src/engine/e_sound.pas
+++ b/src/engine/e_sound.pas
+(* Copyright (C) Doom 2D: Forever Developers
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License ONLY.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *)
+{$INCLUDE ../shared/a_modes.inc}
unit e_sound;
unit e_sound;
-{$IFDEF USE_SDLMIXER}
+{$IF DEFINED(USE_SDLMIXER)}
{$I e_sound_sdl.inc}
{$I e_sound_sdl.inc}
-{$ELSE}
+{$ELSEIF DEFINED(USE_OPENAL)}
+ {$I e_sound_al.inc}
+{$ELSEIF DEFINED(USE_FMOD)}
{$I e_sound_fmod.inc}
{$I e_sound_fmod.inc}
+{$ELSEIF DEFINED(USE_SOUNDSTUB)}
+ {$I e_sound_stub.inc}
+{$ELSE}
+ {$ERROR e_sound driver not implemented?}
{$ENDIF}
{$ENDIF}