Sound Data Chunk
ChunkHeader structure
#include <AIFF.h>
typedef struct ChunkHeader { Size Offset Description
ID ckID; 4 0 chunk type ID
long ckSize; 4 4 number of bytes of data
The ckID field specifies the chunk type. An ID is a 32-bit concatenation of any
four printable ASCII characters in the range ' ' (space character, ASCII value
0x20) through '~' (ASCII value 0x7E). Spaces cannot precede printing
characters, but trailing spaces are allowed. Control characters are not allowed.
You can specify values for the other types of chunks by using these constants:
ApplicationSpecificID chunk ID for ApplicationSpecificChunk
AudioRecordingID chunk ID for AudioRecordingChunk
CommentID chunk ID for CommentsChunk
FORMID chunk ID for ContainerChunk
FormatVersionID chunk ID for FormatVersionChunk
CommonID chunk ID for CommonChunk and ExtCommonChunk
InstrumentID chunk ID for InstrumentChunk
MarkerID chunk ID for MarkerChunk
MIDIDataID chunk ID for MIDIDataChunk
SoundDataID chunk ID for SoundDataChunk
NameID chunk ID's for TextChunk
AuthorID
CopyrightID
AnnotationID
The ckSize field specifies the size of the data portion of a chunk and does not
include the length of the chunk header information.