BGE bug fix: fix several bugs and inconsistencies in sound actuator:
authorBenoit Bolsee <benoit.bolsee@online.be>
Thu, 9 Oct 2008 06:06:11 +0000 (06:06 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Thu, 9 Oct 2008 06:06:11 +0000 (06:06 +0000)
commit9ca5b78d1ad13a54f2649a7ed4287435c6727de6
tree89cd0ffe81be16ca2fac557b15398573f0df7256
parent4bd7fa9e2e213c92793a9febb6a3f5ca35704a0f
BGE bug fix: fix several bugs and inconsistencies in sound actuator:

- support stopping of loop sound
- support stopping by python
- keep state of actuator in sync with audio device.
  The lack of state sync was causing several other problems:
  - actuator stop playing the sound
  - sound chopped before the end
  - not possible to pause sound
intern/SoundSystem/intern/SND_Scene.cpp
intern/SoundSystem/intern/SND_SoundObject.cpp
source/gameengine/Ketsji/KX_SoundActuator.cpp