From b8f1a3e38c1404c61c3dcde57129a86babb1fea5 Mon Sep 17 00:00:00 2001 From: dhewg Date: Sun, 8 Jan 2012 21:53:51 +0100 Subject: [PATCH] Port EAX to EFX First attempt at porting the EAX reverb code to EFX. This only works when the ALC_EXT_EFX extension is supported by the OpenAL vendor (which is not the case for the OSX supplied framework, use OpenAL soft instead). The current stable version of OpenAL Soft (v1.13 as of this writing) can barely handle this additional workload, current master is highly recommended when using this feature. --- framework/BuildDefines.h | 4 ---- sound/sound.h | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/framework/BuildDefines.h b/framework/BuildDefines.h index 78171b6..4b8ed7f 100644 --- a/framework/BuildDefines.h +++ b/framework/BuildDefines.h @@ -104,10 +104,6 @@ If you have questions concerning this license or the applicable additional terms # endif #endif -#ifndef ID_OPENAL_EAX -# define ID_OPENAL_EAX 0 -#endif - // async network /* diff --git a/sound/sound.h b/sound/sound.h index d94e361..b4fb2fa 100644 --- a/sound/sound.h +++ b/sound/sound.h @@ -341,8 +341,8 @@ public: // prints memory info virtual void PrintMemInfo( MemInfo_t *mi ) = 0; - // is EAX support present - -1: disabled at compile time, 0: no suitable hardware, 1: ok, 2: failed to load OpenAL DLL - virtual int IsEAXAvailable( void ) = 0; + // is EFX support present - -1: disabled at compile time, 0: no suitable hardware, 1: ok + virtual int IsEFXAvailable( void ) = 0; }; extern idSoundSystem *soundSystem;