diff options
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r-- | intern/SoundSystem/openal/SND_OpenALDevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index 983ee0e7015..66950e6ef92 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -393,7 +393,9 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name, { int buffer = waveslot->GetBuffer(); void* data = NULL; +#ifndef __APPLE__ char loop = 'a'; +#endif int sampleformat, bitrate, numberofchannels; ALenum al_error = alGetError(); |