diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-15 22:21:27 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-15 22:21:27 +0400 |
commit | 58db6df0696ab066b1cf4b37f4593fa03f65e099 (patch) | |
tree | 206a8df4ba29fcf867a6068eab430668773f3508 /intern | |
parent | 009dea9577620d2ff0d0c95f0b4104237dea1abe (diff) |
* Fix for compile error on MSVC.
* Remove alut from makefiles and cmake.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/SoundSystem/openal/SND_OpenALDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index df02d11ae39..6b0e863e73d 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -514,7 +514,7 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name, bitrate = SND_GetBitRate(memlocation); /* load the sample into openal */ - SND_alutLoadWAVMemory((char*)memlocation, size, &sampleformat, &data, &numberofsamples, &samplerate, &loop); + SND_alutLoadWAVMemory((ALbyte*)memlocation, size, &sampleformat, &data, &numberofsamples, &samplerate, &loop); /* put it in the buffer */ alBufferData(m_buffers[buffer], sampleformat, data, numberofsamples, samplerate); } |