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.

State Blocks

The stateVars field of a compressed sound header contains a pointer to a state block, defined by the StateBlock data type.

TYPE StateBlock = 
RECORD
   stateVar:         ARRAY[0..stateBlockSize - 1] OF Integer;
END;
Field Description
stateVar
An array of integers. This field contains state variables that need to be preserved across invocations of the compression algorithm. The size of this field is defined by a constant.
               CONST
                  stateBlockSize          = 64;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996