Update sfxALBuffer.h

mac dont like
This commit is contained in:
marauder2k7 2024-05-25 09:10:47 +01:00
parent 16ff27c6e6
commit e3d977b8e7

View file

@ -84,11 +84,12 @@ class SFXALBuffer : public SFXBuffer
return AL_FORMAT_STEREO8;
else if( bps == 32 )
return AL_FORMAT_STEREO16;
/* MAC doesnt like 32bit openal (doesnt use the ext)
else if (bps == 64)
{
if (alIsExtensionPresent("AL_EXT_FLOAT32"))
return AL_FORMAT_STEREO_FLOAT32;
}
}*/
}
else if( format.getChannels() == 1 )
{
@ -97,11 +98,12 @@ class SFXALBuffer : public SFXBuffer
return AL_FORMAT_MONO8;
else if (bps == 16)
return AL_FORMAT_MONO16;
/*
else if (bps == 32)
{
if(alIsExtensionPresent("AL_EXT_FLOAT32"))
return AL_FORMAT_MONO_FLOAT32;
}
}*/
}
return 0;
}