Mac OS Sound

| Previous | Chapter Contents | Chapter Top | Next |

Legacy Documentclose button

Important: Sound Input Manager is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.

Converting Between Sound Formats

With the release of Sound Manager 3.2, you can easily convert between sound formats. Typically, some of the operations that can be performed include

You begin a conversion session by calling the SoundConverterOpen function, to which you pass the format of the sound to be converted and the desired output format. A SoundConverter identifier is returned that must be passed to all further routines in this session. SoundConverterClose is used to close the session.

The SoundConverterGetBufferSizes routine allows you to determine input and output buffer sizes based on a target buffer size. This lets you allocate buffers to fit the conversion established with SoundConverterOpen .

The Process of Converting a Sound


© 1999 Apple Computer, Inc.

Mac OS Sound

| Previous | Chapter Contents | Chapter Top | Next |

Legacy Documentclose button

Important: Sound Input Manager is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.