DSP must be set to LLE to select the decoder

This commit is contained in:
LAGonauta
2019-06-15 08:36:47 -03:00
parent 3c9eb37381
commit 2ff646b796
7 changed files with 33 additions and 16 deletions

View File

@ -221,7 +221,8 @@ void OpenALStream::SoundLoop()
bool float32_capable = palIsExtensionPresent("AL_EXT_float32") != 0;
bool surround_capable = palIsExtensionPresent("AL_EXT_MCFORMATS") || IsCreativeXFi();
bool use_surround = SConfig::GetInstance().bDPL2Decoder && surround_capable;
bool use_surround =
SConfig::GetInstance().bDPL2Decoder && surround_capable && !SConfig::GetInstance().bDSPHLE;
// As there is no extension to check for 32-bit fixed point support
// and we know that only a X-Fi with hardware OpenAL supports it,