summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/OpenALStream.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2009-04-28 20:05:00 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2009-04-28 20:05:00 +0000
commitbe61375c0102a31bfbc82503ae4bd70757047566 (patch)
treee8ce84206cbb808635adf97bf01b2d42d67a8862 /Source/Core/AudioCommon/Src/OpenALStream.cpp
parent1f4c000ae68450fc5b46fbbc28ce376eb3988e38 (diff)
Fix compile in OSX by reverting my change, dunno why OpenAL is different on my machine. Bit of debug work in nJoy test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3100 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/OpenALStream.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp
index 7784472257..3d21b9c7b7 100644
--- a/Source/Core/AudioCommon/Src/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp
@@ -33,11 +33,7 @@ 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);