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>2015-04-21 16:20:19 +0300
committerJörg Müller <nexyon@gmail.com>2015-07-28 15:01:52 +0300
commitf700c1f3a826ad7d2576822779f676a9b16fde7a (patch)
tree80ba565215d24aab36d1cc027a227845aca66fed /source/gameengine/GamePlayer
parent009bb9e5c9fb6542193e6a4250643420a7016726 (diff)
Audaspace: name fixes and external library update.
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_Application.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
index 75a301211a2..a0c314230f5 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
@@ -748,9 +748,10 @@ bool GPG_Application::startEngine(void)
m_ketsjiengine->InitDome(m_startScene->gm.dome.res, m_startScene->gm.dome.mode, m_startScene->gm.dome.angle, m_startScene->gm.dome.resbuf, m_startScene->gm.dome.tilt, m_startScene->gm.dome.warptext);
// initialize 3D Audio Settings
- AUD_setSpeedOfSound(m_startScene->audio.speed_of_sound);
- AUD_setDopplerFactor(m_startScene->audio.doppler_factor);
- AUD_setDistanceModel(AUD_DistanceModel(m_startScene->audio.distance_model));
+ AUD_Device* device = BKE_sound_get_device();
+ AUD_Device_setSpeedOfSound(device, m_startScene->audio.speed_of_sound);
+ AUD_Device_setDopplerFactor(device, m_startScene->audio.doppler_factor);
+ AUD_Device_setDistanceModel(device, AUD_DistanceModel(m_startScene->audio.distance_model));
#ifdef WITH_PYTHON
// Set the GameLogic.globalDict from marshal'd data, so we can