1 {
2 Translation of the OpenAL headers for FreePascal
3 Copyright (C) 2006 by Ivo Steinmann
4 Copyright (C) 2019 by fgsfds
5 }
9 {$mode objfpc}
11 interface
13 uses
14 ctypes;
16 {$IF DEFINED(WINDOWS)}
17 {$IFDEF OPENAL_WINDOZE_STATIC}
18 {$LINKLIB libopenal.a}
19 {$ELSE}
21 {$DEFINE AL_DYNAMIC}
22 {$ENDIF}
23 {$ELSEIF DEFINED(UNIX)}
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