Simplified transition to OpenAL sound backend

This commit is contained in:
alexey.lysiuk 2017-04-17 10:46:38 +03:00
parent cdade41ca9
commit 59626cf843

View file

@ -256,6 +256,15 @@ void I_InitSound ()
return;
}
#ifndef NO_OPENAL
// Simplify transition to OpenAL backend
if (stricmp(snd_backend, "fmod") == 0)
{
Printf (TEXTCOLOR_ORANGE "FMOD Ex sound system was removed, switching to OpenAL\n");
snd_backend = "openal";
}
#endif // NO_OPENAL
if (stricmp(snd_backend, "null") == 0)
{
GSnd = new NullSoundRenderer;