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.
This commit is contained in:
dhewg 2012-01-08 21:53:51 +01:00 committed by Daniel Gibson
parent b87bd8040f
commit b8f1a3e38c
2 changed files with 2 additions and 6 deletions

View file

@ -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
/*

View file

@ -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;