mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-12 05:02:11 +00:00
Support float stream callbacks with AL_EXT_FLOAT32
This commit is contained in:
parent
69af01d629
commit
ba3cc38d09
1 changed files with 5 additions and 0 deletions
|
@ -420,6 +420,11 @@ public:
|
|||
if((flags&Mono)) Format = AL_FORMAT_MONO16;
|
||||
else Format = AL_FORMAT_STEREO16;
|
||||
}
|
||||
else if((flags&Float) && alIsExtensionPresent("AL_EXT_FLOAT32"))
|
||||
{
|
||||
if((flags&Mono)) Format = AL_FORMAT_MONO_FLOAT32;
|
||||
else Format = AL_FORMAT_STEREO_FLOAT32;
|
||||
}
|
||||
|
||||
if(Format == AL_NONE)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue