mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
Fixed: Applying reverb with FMOD 4.36.yy killed sound
- It turns out that the FMOD_REVERB_PROPERTIES structure actually changed with 4.36.00 and not with 4.38.00.
This commit is contained in:
parent
cbfb24ef33
commit
5ee988f607
1 changed files with 3 additions and 3 deletions
|
@ -698,8 +698,8 @@ bool FMODSoundRenderer::Init()
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *wrongver = NULL;
|
const char *wrongver = NULL;
|
||||||
#if FMOD_VERSION >= 0x43800
|
#if FMOD_VERSION >= 0x43600
|
||||||
if (version < 0x43800)
|
if (version < 0x43600)
|
||||||
#else
|
#else
|
||||||
if (version < 0x42000)
|
if (version < 0x42000)
|
||||||
#endif
|
#endif
|
||||||
|
@ -3135,7 +3135,7 @@ void FMODSoundRenderer::InitCreateSoundExInfo(FMOD_CREATESOUNDEXINFO *exinfo) co
|
||||||
|
|
||||||
FMOD_RESULT FMODSoundRenderer::SetSystemReverbProperties(const REVERB_PROPERTIES *props)
|
FMOD_RESULT FMODSoundRenderer::SetSystemReverbProperties(const REVERB_PROPERTIES *props)
|
||||||
{
|
{
|
||||||
#if FMOD_VERSION < 0x43800
|
#if FMOD_VERSION < 0x43600
|
||||||
return Sys->setReverbProperties((const FMOD_REVERB_PROPERTIES *)props);
|
return Sys->setReverbProperties((const FMOD_REVERB_PROPERTIES *)props);
|
||||||
#else
|
#else
|
||||||
// The reverb format changed when hardware mixing support was dropped, because
|
// The reverb format changed when hardware mixing support was dropped, because
|
||||||
|
|
Loading…
Reference in a new issue