mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-19 16:00:52 +00:00
Get rid of s_libOpenAL and s_useOpenAL
Both unused.
This commit is contained in:
parent
8aa0a4a9c9
commit
5e05c5b031
2 changed files with 0 additions and 8 deletions
|
@ -765,8 +765,6 @@ public:
|
||||||
static idCVar s_force22kHz;
|
static idCVar s_force22kHz;
|
||||||
static idCVar s_clipVolumes;
|
static idCVar s_clipVolumes;
|
||||||
static idCVar s_realTimeDecoding;
|
static idCVar s_realTimeDecoding;
|
||||||
static idCVar s_libOpenAL;
|
|
||||||
static idCVar s_useOpenAL;
|
|
||||||
static idCVar s_useEAXReverb;
|
static idCVar s_useEAXReverb;
|
||||||
static idCVar s_decompressionLimit;
|
static idCVar s_decompressionLimit;
|
||||||
|
|
||||||
|
|
|
@ -70,13 +70,9 @@ idCVar idSoundSystemLocal::s_enviroSuitVolumeScale( "s_enviroSuitVolumeScale", "
|
||||||
idCVar idSoundSystemLocal::s_skipHelltimeFX( "s_skipHelltimeFX", "0", CVAR_SOUND | CVAR_BOOL, "" );
|
idCVar idSoundSystemLocal::s_skipHelltimeFX( "s_skipHelltimeFX", "0", CVAR_SOUND | CVAR_BOOL, "" );
|
||||||
|
|
||||||
#if !defined(ID_DEDICATED)
|
#if !defined(ID_DEDICATED)
|
||||||
idCVar idSoundSystemLocal::s_libOpenAL( "s_libOpenAL", "openal32.dll", CVAR_SOUND | CVAR_ARCHIVE, "Deprecated, kept for compability" );
|
|
||||||
idCVar idSoundSystemLocal::s_useOpenAL( "s_useOpenAL", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ARCHIVE, "Deprecated, kept for compability" );
|
|
||||||
idCVar idSoundSystemLocal::s_useEAXReverb( "s_useEAXReverb", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ARCHIVE, "use EFX reverb" );
|
idCVar idSoundSystemLocal::s_useEAXReverb( "s_useEAXReverb", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ARCHIVE, "use EFX reverb" );
|
||||||
idCVar idSoundSystemLocal::s_decompressionLimit( "s_decompressionLimit", "6", CVAR_SOUND | CVAR_INTEGER | CVAR_ARCHIVE, "specifies maximum uncompressed sample length in seconds" );
|
idCVar idSoundSystemLocal::s_decompressionLimit( "s_decompressionLimit", "6", CVAR_SOUND | CVAR_INTEGER | CVAR_ARCHIVE, "specifies maximum uncompressed sample length in seconds" );
|
||||||
#else
|
#else
|
||||||
idCVar idSoundSystemLocal::s_libOpenAL( "s_libOpenAL", "openal32.dll", CVAR_SOUND | CVAR_ARCHIVE, "OpenAL is not supported in this build" );
|
|
||||||
idCVar idSoundSystemLocal::s_useOpenAL( "s_useOpenAL", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ROM, "OpenAL is not supported in this build" );
|
|
||||||
idCVar idSoundSystemLocal::s_useEAXReverb( "s_useEAXReverb", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ROM, "EFX not available in this build" );
|
idCVar idSoundSystemLocal::s_useEAXReverb( "s_useEAXReverb", "0", CVAR_SOUND | CVAR_BOOL | CVAR_ROM, "EFX not available in this build" );
|
||||||
idCVar idSoundSystemLocal::s_decompressionLimit( "s_decompressionLimit", "6", CVAR_SOUND | CVAR_INTEGER | CVAR_ROM, "specifies maximum uncompressed sample length in seconds" );
|
idCVar idSoundSystemLocal::s_decompressionLimit( "s_decompressionLimit", "6", CVAR_SOUND | CVAR_INTEGER | CVAR_ROM, "specifies maximum uncompressed sample length in seconds" );
|
||||||
#endif
|
#endif
|
||||||
|
@ -324,8 +320,6 @@ void idSoundSystemLocal::Init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// set up openal device and context
|
// set up openal device and context
|
||||||
common->StartupVariable( "s_useOpenAL", true );
|
|
||||||
|
|
||||||
common->Printf( "Setup OpenAL device and context\n" );
|
common->Printf( "Setup OpenAL device and context\n" );
|
||||||
|
|
||||||
const char *device = s_device.GetString();
|
const char *device = s_device.GetString();
|
||||||
|
|
Loading…
Reference in a new issue