[Orxonox-commit 1608] r6326 - code/branches/presentation2/src/orxonox/sound
scheusso at orxonox.net
scheusso at orxonox.net
Sat Dec 12 14:10:35 CET 2009
Author: scheusso
Date: 2009-12-12 14:10:35 +0100 (Sat, 12 Dec 2009)
New Revision: 6326
Modified:
code/branches/presentation2/src/orxonox/sound/AmbientSound.cc
Log:
ambient sound synchronisation now working (however not in combination with triggers)
Modified: code/branches/presentation2/src/orxonox/sound/AmbientSound.cc
===================================================================
--- code/branches/presentation2/src/orxonox/sound/AmbientSound.cc 2009-12-11 16:52:59 UTC (rev 6325)
+++ code/branches/presentation2/src/orxonox/sound/AmbientSound.cc 2009-12-12 13:10:35 UTC (rev 6326)
@@ -56,7 +56,6 @@
void AmbientSound::registerVariables()
{
- registerVariable(volume_, ObjectDirection::ToClient, new NetworkCallback<BaseSound>(static_cast<BaseSound*>(this), &BaseSound::volumeChanged));
registerVariable(ambientSource_, ObjectDirection::ToClient, new NetworkCallback<AmbientSound>(this, &AmbientSound::ambientSourceChanged));
registerVariable(bLooping_, ObjectDirection::ToClient, new NetworkCallback<BaseSound>(static_cast<BaseSound*>(this), &BaseSound::loopingChanged));
registerVariable(pitch_, ObjectDirection::ToClient, new NetworkCallback<BaseSound>(static_cast<BaseSound*>(this), &BaseSound::pitchChanged));
More information about the Orxonox-commit
mailing list