Only have this in OSX since that is only where it compiles apparently?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3061 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2009-04-24 05:42:57 +00:00
parent 6c29abe2ef
commit c3926a35ae

View File

@ -33,7 +33,11 @@ bool OpenALStream::Start()
pDeviceList = new ALDeviceList();
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
{
#ifdef __APPLE__
pDevice = alcOpenDevice((ALCubyte*)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
#else
pDevice = alcOpenDevice((const ALCchar *)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
#endif
if (pDevice)
{
pContext = alcCreateContext(pDevice, NULL);