OSX build fix

This commit is contained in:
skidau 2013-01-16 00:14:31 +11:00
parent a9388ce2e2
commit 7402a89e6e

View file

@ -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