|
|
Log In | Not a Member? |
Contact ADC |
Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
Form Chunks
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. TheContainerChunkdata type defines a Form Chunk.
TYPE ContainerChunk = RECORD ckID: ID; {'FORM'} ckSize: LongInt; {number of bytes of data} formType: ID; {type of file} END;The size of an entire sound file is
Field Description
ckID- The ID of this chunk. For a Form Chunk, this ID is
'FORM'.ckSize- The size of the data portion of this chunk. Note that the data portion of a Form Chunk is divided into two parts,
formTypeand the remaining chunks of the sound file.formType- The type of audio file. For AIFF files,
formTypeis'AIFF'. For AIFF-C files,formTypeis'AIFC'.ckSize+8, because theckSizefield incorporates the size of all chunks of the sound file, except the sizes of theckIDandckSizefields of the Form Chunk itself.
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |