Microsoft DirectX 8.1 (C++)

Segment Trigger Track List

The segment trigger track list contains data for a Track Form. It is organized as follows:

<SEGT-list> -> LIST( 'segt'
  [<sgth-ck>]   // Segment track header.
  <lsgl-list>   // List of segment lists.
  ) 

The first chunk is the track header:

<sgth-ck> -> 'sgth' ( <DMUS_IO_SEGMENT_TRACK_HEADER> )

The next chunk is a list containing an array of segments:

<lsgl-list> -> LIST( 'lsgl'
  <lseg-list>...
  )

Each "lseg" list describes a single segment item:

<lseg-list> -> LIST( 'lseg'
  <sgih-ck>
  <DMRF-list>
  [<snam-ck>]  // Motif name
  )

The first chunk of the segment item is a header:

<sgih-ck> -> ( <DMUS_IO_SEGMENT_ITEM_HEADER> )

This is followed by a reference to a segment file or a style file. It is a reference to a style if the DMUS_SEGMENTTRACKF_MOTIF flag is present in the item header. For more information, see Reference List.

The last chunk of the segment item contains the null-terminated name of a motif, if the DMUS_SEGMENTTRACKF_MOTIF flag is present in the item header.

<snam-ck> -> ( <WCHAR>... )