ass_process_chunk method

void ass_process_chunk(
  1. Pointer<ASS_Track> track,
  2. Pointer<Char> data,
  3. int size,
  4. int timecode,
  5. int duration,
)

\brief Parse a chunk of subtitle stream data. A chunk contains exactly one event in Matroska format. See the Matroska specification for details. In later libass versions (since LIBASS_VERSION==0x01300001), using this function means you agree not to modify events manually, or using other functions manipulating the event list like ass_process_data(). If you do anyway, the internal duplicate checking might break. Calling ass_flush_events() is still allowed. \param track track \param data string to parse \param size length of data \param timecode starting time of the event (milliseconds) \param duration duration of the event (milliseconds)

Implementation

void ass_process_chunk(
  ffi.Pointer<ASS_Track> track,
  ffi.Pointer<ffi.Char> data,
  int size,
  int timecode,
  int duration,
) {
  return _ass_process_chunk(
    track,
    data,
    size,
    timecode,
    duration,
  );
}