diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-22 16:41:03 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-22 16:41:03 +0200 |
commit | ab161d12d8cf0326bf072777b7eeef31e8cd516c (patch) | |
tree | d9fb154d49338cab92e278fc34952386daa9e314 /src/audio/oal/aldlist.cpp | |
parent | opus support (diff) | |
parent | fixes for CPhysical and friends (diff) | |
download | re3-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 '')
-rw-r--r-- | src/audio/oal/aldlist.cpp | 2 |
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); |