summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-24 00:44:10 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-24 00:44:10 +0200
commitf92770f74affa700abcec27f872b2627054f27b6 (patch)
treeb4521738ec105fd8e2cdc0f6e3a21035c70eff43 /src/audio/sampman_oal.cpp
parentFix OAL crash (diff)
downloadre3-f92770f74affa700abcec27f872b2627054f27b6.tar
re3-f92770f74affa700abcec27f872b2627054f27b6.tar.gz
re3-f92770f74affa700abcec27f872b2627054f27b6.tar.bz2
re3-f92770f74affa700abcec27f872b2627054f27b6.tar.lz
re3-f92770f74affa700abcec27f872b2627054f27b6.tar.xz
re3-f92770f74affa700abcec27f872b2627054f27b6.tar.zst
re3-f92770f74affa700abcec27f872b2627054f27b6.zip
Diffstat (limited to 'src/audio/sampman_oal.cpp')
-rw-r--r--src/audio/sampman_oal.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index f6f3a393..1952f370 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -174,10 +174,10 @@ add_providers()
}
if ( alGetEnumValue("AL_EFFECT_EAXREVERB") != 0
- || pDeviceList->IsExtensionSupported(i, "EAX2.0")
- || pDeviceList->IsExtensionSupported(i, "EAX3.0")
- || pDeviceList->IsExtensionSupported(i, "EAX4.0")
- || pDeviceList->IsExtensionSupported(i, "EAX5.0") )
+ || pDeviceList->IsExtensionSupported(i, ADEXT_EAX2)
+ || pDeviceList->IsExtensionSupported(i, ADEXT_EAX3)
+ || pDeviceList->IsExtensionSupported(i, ADEXT_EAX4)
+ || pDeviceList->IsExtensionSupported(i, ADEXT_EAX5) )
{
if ( n < MAXPROVIDERS )
{