From 17b6ed061b1301f4d70659dae0923982e22aa3d9 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Wed, 4 Sep 2019 17:35:29 +0300 Subject: [PATCH] OpenAL: Add EAXEFXREVERBPROPERTIES --- src/lib/openal/efx.inc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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}; -- 2.29.2