1 (* AL_LOKI_IMA_ADPCM_format extension *)
2 const
3 AL_FORMAT_IMA_ADPCM_MONO16_EXT = $10000;
4 AL_FORMAT_IMA_ADPCM_STEREO16_EXT = $10001;
6 (* AL_LOKI_WAVE_format extension *)
7 const
8 AL_FORMAT_WAVE_EXT = $10002;
10 (* AL_EXT_vorbis extension *)
11 const
12 AL_FORMAT_VORBIS_EXT = $10003;
14 (* AL_LOKI_quadriphonic extension *)
15 const
16 AL_FORMAT_QUAD8_LOKI = $10004;
17 AL_FORMAT_QUAD16_LOKI = $10005;
19 (* AL_EXT_float32 extension *)
20 const
21 AL_FORMAT_MONO_FLOAT32 = $10010;
22 AL_FORMAT_STEREO_FLOAT32 = $10011;
24 (* AL_EXT_double extension *)
25 const
26 AL_FORMAT_MONO_DOUBLE_EXT = $10012;
27 AL_FORMAT_STEREO_DOUBLE_EXT = $10013;
29 (* ALC_LOKI_audio_channel extension *)
30 const
31 ALC_CHAN_MAIN_LOKI = $500001;
32 ALC_CHAN_PCM_LOKI = $500002;
33 ALC_CHAN_CD_LOKI = $500003;
35 (* ALC_ENUMERATE_ALL_EXT extension *)
36 const
37 ALC_DEFAULT_ALL_DEVICES_SPECIFIER = $1012;
38 ALC_ALL_DEVICES_SPECIFIER = $1013;
40 (* AL_EXT_MCFORMATS extension *)
41 const
42 AL_FORMAT_QUAD8 = $1204;
43 AL_FORMAT_QUAD16 = $1205;
44 AL_FORMAT_QUAD32 = $1206;
45 AL_FORMAT_REAR8 = $1207;
46 AL_FORMAT_REAR16 = $1208;
47 AL_FORMAT_REAR32 = $1209;
48 AL_FORMAT_51CHN8 = $120A;
49 AL_FORMAT_51CHN16 = $120B;
50 AL_FORMAT_51CHN32 = $120C;
51 AL_FORMAT_61CHN8 = $120D;
52 AL_FORMAT_61CHN16 = $120E;
53 AL_FORMAT_61CHN32 = $120F;
54 AL_FORMAT_71CHN8 = $1210;
55 AL_FORMAT_71CHN16 = $1211;
56 AL_FORMAT_71CHN32 = $1212;
58 (* AL_EXT_IMA4 extension *)
59 const
60 AL_FORMAT_MONO_IMA4 = $1300;
61 AL_FORMAT_STEREO_IMA4 = $1301;
63 (* AL_EXT_buffer_sub_data extension *)
64 const
65 AL_BYTE_RW_OFFSETS_EXT = $1031;
66 AL_SAMPLE_RW_OFFSETS_EXT = $1032;
67 AL_SEC_RW_OFFSETS_EXT = $1033;
69 procedure alBufferSubDataEXT(buffer :ALuint; format :ALenum; const data :PALvoid; offset :ALsizei; length :ALsizei); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
71 (* AL_EXT_STATIC_BUFFER extension *)
72 procedure alBufferDataStatic(buffer :ALint; format :ALenum; data :Pointer; size, freq :ALsizei); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
74 (* AL_EXT_sample_buffer_object extension *)
75 const
76 AL_SAMPLE_SOURCE_EXT = $1040;
77 AL_SAMPLE_SINK_EXT = $1041;
78 AL_READ_ONLY_EXT = $1042;
79 AL_WRITE_ONLY_EXT = $1043;
80 AL_READ_WRITE_EXT = $1044;
81 AL_STREAM_WRITE_EXT = $1045;
82 AL_STREAM_READ_EXT = $1046;
83 AL_STREAM_COPY_EXT = $1047;
84 AL_STATIC_WRITE_EXT = $1048;
85 AL_STATIC_READ_EXT = $1049;
86 AL_STATIC_COPY_EXT = $104A;
87 AL_DYNAMIC_WRITE_EXT = $104B;
88 AL_DYNAMIC_READ_EXT = $104C;
89 AL_DYNAMIC_COPY_EXT = $104D;
91 procedure alGenDatabuffersEXT(n:ALsizei; puiBuffers:pALuint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
92 procedure alDeleteDatabuffersEXT(n:ALsizei; puiBuffers:pALuint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
93 function alIsDatabufferEXT(uiBuffer:ALuint):ALboolean; cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
94 procedure alDatabufferDataEXT(buffer:ALuint; data:pALvoid; size:ALsizei; usage:ALenum); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
95 procedure alDatabufferSubDataEXT(buffer:ALuint; start:ALuint; length:ALsizei; data:pALvoid); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
96 procedure alGetDatabufferSubDataEXT(buffer:ALuint; start:ALuint; length:ALsizei; data:pALvoid); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
97 procedure alDatabufferfEXT(buffer:ALuint; eParam:ALenum; flValue:ALfloat); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
98 procedure alDatabufferfvEXT(buffer:ALuint; eParam:ALenum; flValues:pALfloat); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
99 procedure alDatabufferiEXT(buffer:ALuint; eParam:ALenum; lValue:ALint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
100 procedure alDatabufferivEXT(buffer:ALuint; eParam:ALenum; plValues:pALint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
101 procedure alGetDatabufferfEXT(buffer:ALuint; eParam:ALenum; pflValue:pALfloat); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
102 procedure alGetDatabufferfvEXT(buffer:ALuint; eParam:ALenum; pflValues:pALfloat); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
103 procedure alGetDatabufferiEXT(buffer:ALuint; eParam:ALenum; plValue:pALint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
104 procedure alGetDatabufferivEXT(buffer:ALuint; eParam:ALenum; plValues:pALint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
105 procedure alSelectDatabufferEXT(target:ALenum; uiBuffer:ALuint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
106 function alMapDatabufferEXT(uiBuffer:ALuint; start:ALuint; length:ALsizei; access:ALenum):pALvoid; cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
107 procedure alUnmapDatabufferEXT(uiBuffer:ALuint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
109 (* ALC_EXT_disconnect extension *)
110 const
111 ALC_CONNECTED = $0313;
113 (* ALC_EXT_thread_local_context extension *)
115 function alcMakeCurrent(context :PALCcontext) :ALCboolean; cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
116 function alcGetThreadContext() :PALCcontext; cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
118 (* AL_EXT_source_distance_model extension *)
119 const
120 AL_SOURCE_DISTANCE_MODEL = $0200;
122 (* ALC_SOFT_HRTF extension *)
123 const
124 ALC_HRTF_SOFT = $1992;
125 ALC_DONT_CARE_SOFT = $0002;
126 ALC_HRTF_STATUS_SOFT = $1993;
127 ALC_HRTF_DISABLED_SOFT = $0000;
128 ALC_HRTF_ENABLED_SOFT = $0001;
129 ALC_HRTF_DENIED_SOFT = $0002;
130 ALC_HRTF_REQUIRED_SOFT = $0003;
131 ALC_HRTF_HEADPHONES_DETECTED_SOFT = $0004;
132 ALC_HRTF_UNSUPPORTED_FORMAT_SOFT = $0005;
133 ALC_NUM_HRTF_SPECIFIERS_SOFT = $1994;
134 ALC_HRTF_SPECIFIER_SOFT = $1995;
135 ALC_HRTF_ID_SOFT = $1996;
137 function alcGetStringiSOFT(device: PALCdevice; paramName: ALCenum; index: ALCsizei): PALCchar; cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
138 function alcResetDeviceSOFT(device: PALCdevice; attribs: PALCint): ALCboolean; cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};