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.
Leftover Blocks
TheleftOverSamples
field of a compressed sound header contains a pointer to a leftover block, defined by theLeftOverBlock
data type.
TYPE LeftOverBlock = RECORD count: LongInt; sampleArea: PACKED ARRAY[0..leftOverBlockSize - 1] OF Byte; END;
Field Description
count
- The number of bytes in the
sampleArea
field.sampleArea
- An array of bytes. This field contains samples that are truncated across invocations of the compression algorithm. The size of this field is defined by a constant.
CONST leftOverBlockSize = 32;