Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Open Reality / adding callback notify for audio/video clip end
  RSS 2.0 ATOM  

adding callback notify for audio/video clip end
Rate this thread
 
64224
 
Permlink of this thread  
avatar
  • Chicane5
  • Posted: 06 February 2012 10:29 PM
  • Location: Guildford UK
  • Total Posts: 5
  • Joined: 29 May 2008 06:29 PM

so fairly new to ORSDK having migrated from python. I have a few custom relation constraint nodes that deal with the triggering of audio and image sequences from a custom device. I basically have an input anim node (bool) for each clip - when triggered in the RT eval function the clips are passed to a queue and played. What I need is the ability to add a notify that the clip has finished playing so I can then pop it from the queue and stop the processing.

Is this possible? Note, this is all happening independent of the timeline - there is no playback.
Video is toggled with the free running attribute and audio from the FBAudioClip->Play() call.



Replies: 0