Revision: 8492
http://playerstage.svn.sourceforge.net/playerstage/?rev=8492&view=rev
Author: natepak
Date: 2010-01-11 14:58:32 +0000 (Mon, 11 Jan 2010)
Log Message:
-----------
Fixed time bug
Modified Paths:
--------------
code/gazebo/trunk/server/controllers/audio/Audio.cc
Modified: code/gazebo/trunk/server/controllers/audio/Audio.cc
===================================================================
--- code/gazebo/trunk/server/controllers/audio/Audio.cc 2010-01-11 14:56:02 UTC
(rev 8491)
+++ code/gazebo/trunk/server/controllers/audio/Audio.cc 2010-01-11 14:58:32 UTC
(rev 8492)
@@ -157,7 +157,7 @@
{
if (this->audioIface->Lock(1))
{
- this->audioIface->data->head.time = Simulator::Instance()->GetSimTime();
+ this->audioIface->data->head.time =
Simulator::Instance()->GetSimTime().Double();
this->audioIface->data->state = this->openALSource->IsPlaying();
this->audioIface->Unlock();
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit