Merge pull request #2496 from Capostrophic/reverb

Change the default reverb preset to improve underwater FX transition
pull/541/head
Alexei Dobrohotov 5 years ago committed by GitHub
commit 1eac6f67db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -798,7 +798,7 @@ bool OpenAL_Output::init(const std::string &devname, const std::string &hrtfname
if(alGetError() == AL_NO_ERROR) if(alGetError() == AL_NO_ERROR)
Log(Debug::Info) << "Standard Reverb supported"; Log(Debug::Info) << "Standard Reverb supported";
} }
EFXEAXREVERBPROPERTIES props = EFX_REVERB_PRESET_GENERIC; EFXEAXREVERBPROPERTIES props = EFX_REVERB_PRESET_LIVINGROOM;
props.flGain = 0.0f; props.flGain = 0.0f;
LoadEffect(mDefaultEffect, props); LoadEffect(mDefaultEffect, props);
} }

Loading…
Cancel
Save