From 5ee988f60720546326922f0d05fb235ab02fe737 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 6 Feb 2016 19:27:08 -0600 Subject: [PATCH] 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. --- src/sound/fmodsound.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sound/fmodsound.cpp b/src/sound/fmodsound.cpp index 1b9dcfda93..186597ba8c 100644 --- a/src/sound/fmodsound.cpp +++ b/src/sound/fmodsound.cpp @@ -698,8 +698,8 @@ bool FMODSoundRenderer::Init() } const char *wrongver = NULL; -#if FMOD_VERSION >= 0x43800 - if (version < 0x43800) +#if FMOD_VERSION >= 0x43600 + if (version < 0x43600) #else if (version < 0x42000) #endif @@ -3135,7 +3135,7 @@ void FMODSoundRenderer::InitCreateSoundExInfo(FMOD_CREATESOUNDEXINFO *exinfo) co FMOD_RESULT FMODSoundRenderer::SetSystemReverbProperties(const REVERB_PROPERTIES *props) { -#if FMOD_VERSION < 0x43800 +#if FMOD_VERSION < 0x43600 return Sys->setReverbProperties((const FMOD_REVERB_PROPERTIES *)props); #else // The reverb format changed when hardware mixing support was dropped, because