summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 64fbecd)
raw | patch | inline | side by side (parent: 64fbecd)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 4 Sep 2019 14:35:29 +0000 (17:35 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 4 Sep 2019 14:35:35 +0000 (17:35 +0300) |
src/lib/openal/efx.inc | patch | blob | history |
diff --git a/src/lib/openal/efx.inc b/src/lib/openal/efx.inc
index 517bc0916186e9caf42039a7dec3c5fc892fe87c..73180c4615d7c06c153484311031d0ded9984fec 100644 (file)
--- a/src/lib/openal/efx.inc
+++ b/src/lib/openal/efx.inc
AL_MAX_METERS_PER_UNIT = 1e10; // FIXME: was FLT_MAX
AL_DEFAULT_METERS_PER_UNIT = 1.0;
+type
+ EFXEAXREVERBPROPERTIES = record
+ flDensity: ALfloat;
+ flDiffusion: ALfloat;
+ flGain: ALfloat;
+ flGainHF: ALfloat;
+ flGainLF: ALfloat;
+ flDecayTime: ALfloat;
+ flDecayHFRatio: ALfloat;
+ flDecayLFRatio: ALfloat;
+ flReflectionsGain: ALfloat;
+ flReflectionsDelay: ALfloat;
+ flReflectionsPan: array [0..2] of ALfloat;
+ flLateReverbGain: ALfloat;
+ flLateReverbDelay: ALfloat;
+ flLateReverbPan: array [0..2] of ALfloat;
+ flEchoTime: ALfloat;
+ flEchoDepth: ALfloat;
+ flModulationTime: ALfloat;
+ flModulationDepth: ALfloat;
+ flAirAbsorptionGainHF: ALfloat;
+ flHFReference: ALfloat;
+ flLFReference: ALfloat;
+ flRoomRolloffFactor: ALfloat;
+ iDecayHFLimit: ALint;
+ end;
+ LPEFXEAXREVERBPROPERTIES = ^EFXEAXREVERBPROPERTIES;
+
procedure alGenEffects(n: ALsizei; effects: pALuint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};
procedure alDeleteEffects(n: ALsizei; effects: pALuint); cdecl; external {$IFDEF AL_DYNAMIC}openallib{$ENDIF};