diff options
| author | skidau <skidau@gmail.com> | 2013-01-16 00:14:31 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2013-01-16 00:14:31 +1100 |
| commit | 7402a89e6e07ae2001e66e8a61cd7c6bf1700832 (patch) | |
| tree | 7e37367d3026c4c6903ef9ec6ac6a79c840c56e2 /Source/Core/AudioCommon/Src/OpenALStream.cpp | |
| parent | a9388ce2e2b7d235cc943f19e16bdccf99cb68b3 (diff) | |
OSX build fix
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/OpenALStream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp index 25bece8e8d..cfe6a40630 100644 --- a/Source/Core/AudioCommon/Src/OpenALStream.cpp +++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp @@ -275,6 +275,7 @@ void OpenALStream::SoundLoop() #endif if (!surround_capable) { +#if !defined(__APPLE__) if (float32_capable) { alBufferData(uiBufferTemp[iBuffersFilled], AL_FORMAT_STEREO_FLOAT32, sampleBuffer, nSamples * 4 * 2, ulFrequency); @@ -289,7 +290,7 @@ void OpenALStream::SoundLoop() } } - +#endif if (!float32_capable) { // Convert the samples from float to short |
