mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2025-01-19 15:40:54 +00:00
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:
parent
b87bd8040f
commit
b8f1a3e38c
2 changed files with 2 additions and 6 deletions
|
@ -104,10 +104,6 @@ If you have questions concerning this license or the applicable additional terms
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ID_OPENAL_EAX
|
|
||||||
# define ID_OPENAL_EAX 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// async network
|
// async network
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -341,8 +341,8 @@ public:
|
||||||
// prints memory info
|
// prints memory info
|
||||||
virtual void PrintMemInfo( MemInfo_t *mi ) = 0;
|
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
|
// is EFX support present - -1: disabled at compile time, 0: no suitable hardware, 1: ok
|
||||||
virtual int IsEAXAvailable( void ) = 0;
|
virtual int IsEFXAvailable( void ) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern idSoundSystem *soundSystem;
|
extern idSoundSystem *soundSystem;
|
||||||
|
|
Loading…
Reference in a new issue