Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 2 - Sound Manager / Sound Manager Reference
Data Structures


Legacy Documentclose button

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

The leftOverSamples field of a compressed sound header contains a pointer to a leftover block, defined by the LeftOverBlock 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;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996