Carbon


StateBlock

Header: Sound.h

struct StateBlock {
    SInt16 stateVar[64];
};
typedef StateBlock StateBlockPtr;

Field descriptions

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 the constant stateBlockSize (a value of 64).

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

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)