Carbon


Packet Size Constants

Header: Sound.h

enum {
    twoToOne = 1,
    eightToThree = 2,
    threeToOne = 3,
    sixToOne = 4,
    sixToOnePacketSize = 8,
    threeToOnePacketSize = 16
};

Constant descriptions

twoToOne
eightToThree
threeToOne

Ratio 3:1 compressed samples.

sixToOne

Ratio 6:1 compressed samples.

sixToOnePacketSize

Size for a 6 to 1 ratio.

threeToOnePacketSize

Size for a 3 to 1 ratio.

These constants specify the packet size ratio used with the packetSize field of the CmpSoundHeader structure. The size, in bits, is the smallest element that a given expansion algorithm can work with.


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