Let OpenAL pick the device on Windows (with new OpenAL version)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3535 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -116,11 +116,7 @@ openAL_Init (audio_Driver *driver, sint32 flags)
|
|||||||
};
|
};
|
||||||
|
|
||||||
log_add (log_Info, "Initializing OpenAL.");
|
log_add (log_Info, "Initializing OpenAL.");
|
||||||
#ifdef WIN32
|
|
||||||
alcDevice = alcOpenDevice ((ALubyte*)"DirectSound3D");
|
|
||||||
#else
|
|
||||||
alcDevice = alcOpenDevice (NULL);
|
alcDevice = alcOpenDevice (NULL);
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!alcDevice)
|
if (!alcDevice)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user