Compression Constants
The constants described in Table 7-5 are used in thecompressionType
slot of sound frames to specify the encoding format of the sound samples.Table 7-5 Compression constants
Constant Value Description kSampleStandard 0 Uncompressed 8-bit samples. This is the only format supported on Newton 2.0 and 1.x devices and corresponds to the value of this slot ( kNone
) used in those versions of the Newton OS. This is the default.kSampleMuLaw 1 8-bit samples encoded by the muLaw compressor (reduced from 16 to 8 bits). kSampleLinear 6 Uncompressed 16-bit samples. This is the standard format produced by the recording hardware on Newton 2.1 OS devices.
![]()
![]()
![]()
![]()
© Apple Computer, Inc.
26 APR 1997Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help