Segment Form

DirectMusic

Microsoft DirectX 9.0 SDK Update (Summer 2004)

Segment Form

The following notation shows the organization of the top-level chunk of a segment file. This form can also be contained within a Container Form.

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.
  [<DMCN-form>] // Optional container of objects embedded in file.
  <trkl-list>   // Tracks.
  [<DMTG-form>] // Optional toolgraph.
  [<DMAP-form>] // Optional audiopath.
  )

<segh-ck>

This chunk contains the basic header information for a segment.

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

<guid-ck>, <vers-ck>, <UNFO-list>

See Common Chunks.

<DMCN-form>

See Container Form.

<trkl-list>

This is the track list. Each track is encapsulated in a Track Form.

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

<DMTG-form>

See Toolgraph Form.

<DMAP-form>

See Audiopath Form.


© 2004 Microsoft Corporation. All rights reserved.