summaryrefslogtreecommitdiffstats
path: root/src/audio/oal
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-22 16:41:03 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-22 16:41:03 +0200
commitab161d12d8cf0326bf072777b7eeef31e8cd516c (patch)
treed9fb154d49338cab92e278fc34952386daa9e314 /src/audio/oal
parentopus support (diff)
parentfixes for CPhysical and friends (diff)
downloadre3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.gz
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.bz2
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.lz
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.xz
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.zst
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.zip
Diffstat (limited to 'src/audio/oal')
-rw-r--r--src/audio/oal/aldlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/aldlist.cpp b/src/audio/oal/aldlist.cpp
index 458b7c80..7401e036 100644
--- a/src/audio/oal/aldlist.cpp
+++ b/src/audio/oal/aldlist.cpp
@@ -73,7 +73,7 @@ ALDeviceList::ALDeviceList()
if ((bNewName) && (actualDeviceName != NULL) && (strlen(actualDeviceName) > 0)) {
memset(&ALDeviceInfo, 0, sizeof(ALDEVICEINFO));
ALDeviceInfo.bSelected = true;
- ALDeviceInfo.strDeviceName.assign(actualDeviceName, strlen(actualDeviceName));
+ ALDeviceInfo.strDeviceName = actualDeviceName;
alcGetIntegerv(device, ALC_MAJOR_VERSION, sizeof(int), &ALDeviceInfo.iMajorVersion);
alcGetIntegerv(device, ALC_MINOR_VERSION, sizeof(int), &ALDeviceInfo.iMinorVersion);