From: fgsfds <pvt.fgsfds@gmail.com>
Date: Wed, 4 Sep 2019 14:35:29 +0000 (+0300)
Subject: OpenAL: Add EAXEFXREVERBPROPERTIES
X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=17b6ed061b1301f4d70659dae0923982e22aa3d9;p=d2df-sdl.git

OpenAL: Add EAXEFXREVERBPROPERTIES
---

diff --git a/src/lib/openal/efx.inc b/src/lib/openal/efx.inc
index 517bc09..73180c4 100644
--- a/src/lib/openal/efx.inc
+++ b/src/lib/openal/efx.inc
@@ -525,6 +525,34 @@ const
   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};