DEADSOFTWARE

ee62cd11864792e5f98b5c43aae6e2788203b07b
[d2df-sdl.git] / src / lib / openal / al.pas
1 {
2 Translation of the OpenAL headers for FreePascal
3 Copyright (C) 2006 by Ivo Steinmann
4 Copyright (C) 2019 by fgsfds
5 }
7 unit AL;
9 {$mode objfpc}
11 interface
13 uses
14 ctypes;
16 {$IF DEFINED(WINDOWS)}
17 {$IFDEF OPENAL_WINDOZE_STATIC}
18 {$LINKLIB libopenal.a}
19 {$ELSE}
20 const openallib = 'openal32.dll';
21 {$DEFINE AL_DYNAMIC}
22 {$ENDIF}
23 {$ELSEIF DEFINED(UNIX)}
24 const openallib = 'libopenal.so';
25 {$DEFINE AL_DYNAMIC}
26 {$ELSE}
27 {$ERROR OpenAL not supported on this platform. Fix it!}
28 {$ENDIF}
30 {$include al.inc}
31 {$include alc.inc}
32 {$include alext.inc}
33 {$include efx.inc}
35 implementation
37 end.