From 9d7b569ccb17ccdd57d0ea510d31799a8fb19344 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Tue, 1 Jun 2010 20:45:30 +0000 Subject: Now that Core Audio works, reduce the number of build permutations a bit by not linking in other Unix audio modules. Use kAudioUnitSubType_DefaultOutput instead of kAudioUnitSubType_HALOutput so that a runtime switch to another audio device is automatically handled. Use ERROR_LOG for audio errors. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5562 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/AudioCommon/Src/AudioCommon.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/AudioCommon/Src/AudioCommon.cpp') diff --git a/Source/Core/AudioCommon/Src/AudioCommon.cpp b/Source/Core/AudioCommon/Src/AudioCommon.cpp index de371d7595..1ea0d44a9a 100644 --- a/Source/Core/AudioCommon/Src/AudioCommon.cpp +++ b/Source/Core/AudioCommon/Src/AudioCommon.cpp @@ -20,7 +20,9 @@ #include "DSoundStream.h" #include "AOSoundStream.h" #include "AlsaSoundStream.h" +#ifdef __APPLE__ #include "CoreAudioSoundStream.h" +#endif #include "OpenALStream.h" #include "PulseAudioStream.h" -- cgit v1.2.3