Carbon


Compression Algorithm Constants

Header: Sound.h

enum {
    notCompressed = 0,
    fixedCompression = -1,
    variableCompression = -2
};

Constant descriptions

notCompressed

Noncompressed samples.

fixedCompression

Fixed-ratio compression. Available only with Sound Manager versions 3.0 and later.

variableCompression

Variable-ratio compression. Currently not used by the Sound Manager.

These constants define the compression algorithm in the compressionID field of the CmpSoundHeader structure.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)