Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2014-11-12 14:33:28 +0300
committerJörg Müller <nexyon@gmail.com>2015-07-28 15:01:52 +0300
commit8528d76dadd03680ba4a7b24ed8516bad4501b5f (patch)
treec5b492912d7ffd7bbd069891625d09d28bb19c13 /source/gameengine/Converter
parent733073550f61cf4fbbe21aab33e9271915325109 (diff)
Audaspace: external audaspace library update.
Diffstat (limited to 'source/gameengine/Converter')
-rw-r--r--source/gameengine/Converter/KX_ConvertActuators.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Converter/KX_ConvertActuators.cpp b/source/gameengine/Converter/KX_ConvertActuators.cpp
index e5e86cd4ee6..65290ae4f2c 100644
--- a/source/gameengine/Converter/KX_ConvertActuators.cpp
+++ b/source/gameengine/Converter/KX_ConvertActuators.cpp
@@ -412,7 +412,7 @@ void BL_ConvertActuators(const char* maggiename,
// if sound shall be 3D but isn't mono, we have to make it mono!
if (is3d)
{
- snd_sound = AUD_monoSound(snd_sound);
+ snd_sound = AUD_Sound_rechannel(snd_sound, AUD_CHANNELS_MONO);
}
}
KX_SoundActuator* tmpsoundact =
@@ -426,7 +426,7 @@ void BL_ConvertActuators(const char* maggiename,
// if we made it mono, we have to free it
if(snd_sound != sound->playback_handle && snd_sound != NULL)
- AUD_unload(snd_sound);
+ AUD_Sound_free(snd_sound);
tmpsoundact->SetName(bact->name);
baseact = tmpsoundact;