diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-06-01 20:45:30 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-06-01 20:45:30 +0000 |
| commit | 9d7b569ccb17ccdd57d0ea510d31799a8fb19344 (patch) | |
| tree | a6d10a0baaf0b694841b9638a55ef116f75cadf4 /Source/Core/AudioCommon/Src/AudioCommon.cpp | |
| parent | f7494e6b2bf10d0897bd506ac87fd47390c4be93 (diff) | |
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
Diffstat (limited to 'Source/Core/AudioCommon/Src/AudioCommon.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/AudioCommon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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" |
