sanyaade-augmented-reality / junaio

Automatically exported from code.google.com/p/junaio
0 stars 0 forks source link

onTargetDetect restart sound similar to animation #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Description:
------------
We've got a case where sound and animation starts onTargetDetect:
<customization>
 <name>Sound</name>
 <type>sound</type>
 <node_id>onTargetDetect</node_id>
 <value><![CDATA['.RESPATH.'/sound/sound.mp3]]></value>
 </customization>
 <customization>
 <name>IdleAnimation</name>
 <type>startAnimation</type>
 <node_id>onTargetDetect</node_id>
 <value><![CDATA[anim]]></value>
 </customization>

If the tracking is lost only for a short moment the animation is still 
displayed, which is perfect since we don't want an restart immediately. 
However, the sound starts again from the beginning. So it seems to me, that the 
animation has some delay/counter before a restart is triggered. I would like to 
have the exact same for the sound. This would also stops the sync problems we 
experience right now.

If the bug is reproducable, please describe here. If necessary also provide
information about channel ID to be opened and steps to be taken to
reproduce error:
-------------------------------------------------
Problem is also in the Intersport Channel: 98403
Tracking image on request.

iOS+Android / iPhone 3Gs+HTC DHD / latest junaio version
------------------------------------------------

Original issue reported on code.google.com by rainerlo...@googlemail.com on 19 Dec 2011 at 11:12