summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-24 00:45:10 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-24 00:45:10 +0200
commit13a9441d5e6364d4e6da36ea8ed9211887b0e112 (patch)
tree23a4beecb377cd7cda53627a0e54d95740bd2664 /src/audio/sampman_oal.cpp
parentMerge branch 'master' into opus (diff)
parentOptimize ALDeviceList (diff)
downloadre3-13a9441d5e6364d4e6da36ea8ed9211887b0e112.tar
re3-13a9441d5e6364d4e6da36ea8ed9211887b0e112.tar.gz
re3-13a9441d5e6364d4e6da36ea8ed9211887b0e112.tar.bz2
re3-13a9441d5e6364d4e6da36ea8ed9211887b0e112.tar.lz
re3-13a9441d5e6364d4e6da36ea8ed9211887b0e112.tar.xz
re3-13a9441d5e6364d4e6da36ea8ed9211887b0e112.tar.zst
re3-13a9441d5e6364d4e6da36ea8ed9211887b0e112.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 1cd45e4f..8fc610e6 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -181,10 +181,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 )
{