Carbon


ChunkHeader

Header: AIFF.h

struct ChunkHeader {
    ID ckID; 
    SInt32 ckSize;
};

Field descriptions

ckID

The ID of the chunk. An ID is a 32-bit concatenation of any four printable ASCII characters in the range ' ' (space character, ASCII value $20) through '~' (ASCII value $7E). Spaces cannot precede printing characters, but trailing spaces are allowed. Control characters are not allowed. See “Chunk IDs” for a list of the currently recognized chunk IDs.

ckSize

The size of the chunk in bytes, not including the ckID and ckSize fields.

Every chunk in an AIFF or AIFF-C file contains a chunk header that defines characteristics of the chunk. The ChunkHeader data type defines a chunk header.

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)