diff --git a/neo/sound/snd_local.h b/neo/sound/snd_local.h index c4b6a4ed..81e5d3ee 100644 --- a/neo/sound/snd_local.h +++ b/neo/sound/snd_local.h @@ -765,8 +765,6 @@ public: static idCVar s_force22kHz; static idCVar s_clipVolumes; static idCVar s_realTimeDecoding; - static idCVar s_libOpenAL; - static idCVar s_useOpenAL; static idCVar s_useEAXReverb; static idCVar s_decompressionLimit; diff --git a/neo/sound/snd_system.cpp b/neo/sound/snd_system.cpp index 42f9c3a3..d28f537b 100644 --- a/neo/sound/snd_system.cpp +++ b/neo/sound/snd_system.cpp @@ -70,13 +70,9 @@ idCVar idSoundSystemLocal::s_enviroSuitVolumeScale( "s_enviroSuitVolumeScale", " idCVar idSoundSystemLocal::s_skipHelltimeFX( "s_skipHelltimeFX", "0", CVAR_SOUND | CVAR_BOOL, "" ); #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_decompressionLimit( "s_decompressionLimit", "6", CVAR_SOUND | CVAR_INTEGER | CVAR_ARCHIVE, "specifies maximum uncompressed sample length in seconds" ); #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_decompressionLimit( "s_decompressionLimit", "6", CVAR_SOUND | CVAR_INTEGER | CVAR_ROM, "specifies maximum uncompressed sample length in seconds" ); #endif @@ -324,8 +320,6 @@ void idSoundSystemLocal::Init() { } // set up openal device and context - common->StartupVariable( "s_useOpenAL", true ); - common->Printf( "Setup OpenAL device and context\n" ); const char *device = s_device.GetString();