mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 09:51:10 +00:00
Openal on linux (get stuck but doens't crash)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2876 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
adbd88866c
commit
405480342a
@ -36,8 +36,8 @@ ALDeviceList::ALDeviceList()
|
||||
ALDEVICEINFO ALDeviceInfo;
|
||||
char *devices;
|
||||
s32 index;
|
||||
const char *defaultDeviceName;
|
||||
const char *actualDeviceName;
|
||||
const char *defaultDeviceName = NULL;
|
||||
const char *actualDeviceName = NULL;
|
||||
|
||||
// DeviceInfo vector stores, for each enumerated device, it's device name, selection status, spec version #, and extension support
|
||||
vDeviceInfo.empty();
|
||||
@ -78,7 +78,6 @@ ALDeviceList::ALDeviceList()
|
||||
}
|
||||
if ((bNewName) && (actualDeviceName != NULL) && (strlen(actualDeviceName) > 0))
|
||||
{
|
||||
memset(&ALDeviceInfo, 0, sizeof(ALDEVICEINFO)); // the creative was brain broken.
|
||||
ALDeviceInfo.bSelected = true;
|
||||
ALDeviceInfo.strDeviceName = actualDeviceName;
|
||||
alcGetIntegerv(device, ALC_MAJOR_VERSION, sizeof(s32), &ALDeviceInfo.iMajorVersion);
|
||||
|
Loading…
x
Reference in New Issue
Block a user