DEADSOFTWARE

Sound: OpenAL: Add MIDI support via FluidSynth
[d2df-sdl.git] / src / engine / e_sound.pas
index e5c6364d17b2b005463fd808ca942393d34970cb..d689dfeca5e66feae9dd7e9755760aa1693e24c8 100644 (file)
@@ -1,8 +1,27 @@
-{$MODE DELPHI}
+(* 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, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * 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;
 
 {$IFDEF USE_SDLMIXER}
   {$I e_sound_sdl.inc}
 {$ELSE}
-  {$I e_sound_fmod.inc}
+  {$IFDEF USE_OPENAL}
+    {$I e_sound_al.inc}
+  {$ELSE}
+    {$I e_sound_fmod.inc}
+  {$ENDIF}
 {$ENDIF}