Platform SDK: DirectX

Segment Form

The following notation shows the organization of the top-level chunk of a segment file:

RIFF( 'DMSG'
    <segh-ck>       // Segment header chunk
    [<guid-ck>]     // GUID for the segment
    [<vers-ck>]     // Optional version information
    [<UNFO-list>]   // Name, author, copyright information, comments
    <trkl-list>     // List of tracks
    [<DMTG-form>]   // Optional tool graph
    )

The individual chunks and their subchunks are as follows:

<segh-ck> -> segh( <DMUS_IO_SEGMENT_HEADER> )

This chunk contains the basic header information for a segment. For the next three chunks, see Common Chunks.

Next, comes the track list. Each track is encapsulated in a Track Form.

<trkl-list> -> LIST( 'trkl'
    <DMTK-form>... 
    )

Finally, the segment form can contain a Tool Graph Form.