diff options
author | Chris Robinson <[email protected]> | 2017-09-22 05:42:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-09-22 05:42:04 -0700 |
commit | 369f52a0d76e1be1407441ca0bb67343cffa95f3 (patch) | |
tree | ab40abba1c463603f9401a7dc08cf207379b9794 /OpenAL32/Include | |
parent | 9007b7735519b049668ccd0c787ef52a00934386 (diff) |
Add an option to ignore the app's speed of sound for reverb decay
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alListener.h | 3 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h index f1a92b0d..eb386f7f 100644 --- a/OpenAL32/Include/alListener.h +++ b/OpenAL32/Include/alListener.h @@ -50,7 +50,8 @@ typedef struct ALlistener { ALfloat MetersPerUnit; ALfloat DopplerFactor; - ALfloat SpeedOfSound; + ALfloat SpeedOfSound; /* in units per sec! */ + ALfloat ReverbSpeedOfSound; /* in meters per sec! */ ALboolean SourceDistanceModel; enum DistanceModel DistanceModel; diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index b322995b..1295fee3 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -516,6 +516,7 @@ void aluHandleDisconnect(ALCdevice *device); extern ALfloat ConeScale; extern ALfloat ZScale; +extern ALboolean OverrideReverbSpeedOfSound; #ifdef __cplusplus } |