ass_step_sub method

int ass_step_sub(
  1. Pointer<ASS_Track> track,
  2. int now,
  3. int movement
)

\brief Calculates timeshift from now to the start of some other subtitle event, depending on movement parameter. \param track subtitle track \param now current time in milliseconds \param movement how many events to skip from the one currently displayed +2 means "the one after the next", -1 means "previous" \return timeshift in milliseconds

Implementation

int ass_step_sub(
  ffi.Pointer<ASS_Track> track,
  int now,
  int movement,
) {
  return _ass_step_sub(
    track,
    now,
    movement,
  );
}