mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
Simplified transition to OpenAL sound backend
This commit is contained in:
parent
cdade41ca9
commit
59626cf843
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue