Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
OSX build fix
  • Loading branch information
skidau committed Jan 15, 2013
1 parent a9388ce commit 7402a89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/AudioCommon/Src/OpenALStream.cpp
Expand Up @@ -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);
Expand All @@ -289,7 +290,7 @@ void OpenALStream::SoundLoop()
}

}

#endif
if (!float32_capable)
{
// Convert the samples from float to short
Expand Down

0 comments on commit 7402a89

Please sign in to comment.