Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 7 - Sound / About Sound


Sound Compression

Under previous versions of the Newton OS, sound was not compressed. The Newton 2.1 OS now supports recording and playback of compressed sounds. The following types of sound compression are supported:

These types of sound compression are implemented by built-in codecs (compressor-decompressors). Using a codec, the system plays a compressed sound using a two-step process. The sound data is decompressed into an intermediate buffer by the codec, then the buffer is scheduled and played like an uncompressed sound. Similarly, during recording, sound sample data is recorded into a temporary buffer first and then compressed into the binary object where it is to be stored.

With codecs, intermediate buffers are used to avoid skips in the sound that might be caused by the system trying to access the binary object, which is typically a virtual binary object (VBO). This is in contrast to uncompressed sounds which are played directly from the sound object, or recorded directly to the binary object, with no intermediate buffering.

For details on how to compress and uncompress sounds, see "Compressing Sound".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help