aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
authorBoris I. Bendovsky <[email protected]>2022-02-01 14:03:33 +0200
committerGitHub <[email protected]>2022-02-01 04:03:33 -0800
commit195ae4b1d2d4d44e95b25de7bfa9bbdc787573f8 (patch)
tree5ba56a0a2cf5238470bd8dfc92e6f7b67d61502a /alc/context.cpp
parent7d2de711c86dd3c177bb6323b1e3fcc42d0a2998 (diff)
[EAX] Add primary extension name for EAX v2.0 (#653)
Diffstat (limited to 'alc/context.cpp')
-rw-r--r--alc/context.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index 33e9e7e0..902e86be 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -626,7 +626,8 @@ void ALCcontext::eax_initialize_extensions()
const auto string_max_capacity =
std::strlen(mExtensionList) + 1 +
- std::strlen(eax_v2_0_ext_name) + 1 +
+ std::strlen(eax_v2_0_ext_name_1) + 1 +
+ std::strlen(eax_v2_0_ext_name_2) + 1 +
std::strlen(eax_v3_0_ext_name) + 1 +
std::strlen(eax_v4_0_ext_name) + 1 +
std::strlen(eax_v5_0_ext_name) + 1 +
@@ -637,7 +638,10 @@ void ALCcontext::eax_initialize_extensions()
if (eax_is_capable())
{
- eax_extension_list_ += eax_v2_0_ext_name;
+ eax_extension_list_ += eax_v2_0_ext_name_1;
+ eax_extension_list_ += ' ';
+
+ eax_extension_list_ += eax_v2_0_ext_name_2;
eax_extension_list_ += ' ';
eax_extension_list_ += eax_v3_0_ext_name;