![]() |
ContainerChunk |
Header: AIFF.h |
struct ContainerChunk { ID ckID; SInt32 ckSize; ID formType; };
The ID of this chunk. For a Form Chunk, this ID is 'FORM'.
The size of the data portion of this chunk. The data portion of a Form Chunk is divided into two parts, formType and the remaining chunks of the sound file.
The type of audio file. For AIFF files, formType is 'AIFF'. For AIFF-C files, formType is 'AIFC'.
All sound files begin with a Form Chunk. This chunk defines the type and size of the file and can be thought of as enclosing the remaining chunks in the sound file. The ContainerChunk data type defines a Form Chunk.
The size of an entire sound file is ckSize+8, because the ckSize field incorporates the size of all chunks of the sound file, except the sizes of the ckID and ckSize fields of the Form Chunk itself.
You should use this data structure only if you need to access this information or to customize sound play.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)