def _audioTimeCallback(event, movieInstanceRef, streamPlayer):
 if movieInstanceRef():
  tm = ((- event.u.new_time) / 1000.0)
  movieInstanceRef()._audio_stream_clock.reset(tm)

def _audioTimeCallback ( event , movieInstanceRef , streamPlayer ) : if movieInstanceRef ( ) : tm = ( ( - event . u . new_time ) / 1000.0 ) movieInstanceRef ( ) . _audio_stream_clock . reset ( tm )
called by vlc every few hundred msec providing the current audio track time .