[freespace2] Play Position (audio/video out of sync?)

Taylor Richards mtrs at bellsouth.net
Mon Apr 14 17:28:24 EDT 2003


Made a change to get ds_get_play_position to work correctly.  This does
indeed stretch out the length of the hud animations to better fit the
voice length.  I'm going to play with it a little and make sure that no
problems were introduced.

The change was to check the state and only pass through alGetSourceiv()
when the state is AL_PAUSED or AL_PLAYING and set pos to 0 otherwise
(AL_STOPPED, AL_INITIAL).  This avoids checking buffers that are set up
but not being used at the moment.


Taylor

-- 
Taylor Richards <mtrs at bellsouth.net>




More information about the freespace2 mailing list