blob: 289543a3ceafe53ecc9219ed9225d7b4b3acca44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
Translation of the OpenAL headers for FreePascal
Copyright (C) 2006 by Ivo Steinmann
}
unit openal;
{$mode objfpc}
interface
uses
ctypes;
{$IFDEF WINDOWS}
{$DEFINE DYNLINK}
{$ENDIF}
{$IFDEF DYNLINK}
const
{$IF Defined(WINDOWS)}
openallib = 'openal32.dll';
{$ELSEIF Defined(UNIX)}
openallib = 'libopenal.so';
{$ELSE}
{$MESSAGE ERROR 'DYNLINK not supported'}
{$IFEND}
{$ELSE}
{$LINKLIB openal}
{$ENDIF}
{$include alh.inc}
{$include alch.inc}
{$include alexth.inc}
implementation
end.
|