From 96dd213e7ecabeffc682aee40b4102296ab062de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20M=C3=BCller?= Date: Mon, 3 Mar 2014 23:57:59 +0100 Subject: Audaspace: preparing to use standalone library. - Renamed some functions. - Using C API instead of C++ in the game engine, as the standalone is C++11. --- source/gameengine/Ketsji/KX_SoundActuator.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'source/gameengine/Ketsji/KX_SoundActuator.h') diff --git a/source/gameengine/Ketsji/KX_SoundActuator.h b/source/gameengine/Ketsji/KX_SoundActuator.h index 68eff56797b..bd7b28680f6 100644 --- a/source/gameengine/Ketsji/KX_SoundActuator.h +++ b/source/gameengine/Ketsji/KX_SoundActuator.h @@ -36,9 +36,6 @@ #ifdef WITH_AUDASPACE # include "AUD_C-API.h" -# include "AUD_IFactory.h" -# include "AUD_IHandle.h" -# include #endif #include "BKE_sound.h" @@ -58,12 +55,12 @@ class KX_SoundActuator : public SCA_IActuator { Py_Header bool m_isplaying; - boost::shared_ptr m_sound; + AUD_Sound* m_sound; float m_volume; float m_pitch; bool m_is3d; KX_3DSoundSettings m_3d; - boost::shared_ptr m_handle; + AUD_Handle* m_handle; void play(); @@ -84,7 +81,7 @@ public: KX_SOUNDACT_TYPE m_type; KX_SoundActuator(SCA_IObject* gameobj, - boost::shared_ptr sound, + AUD_Sound *sound, float volume, float pitch, bool is3d, -- cgit v1.2.3