Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 5 - Sound Components / Sound Components Reference
Constants


Legacy Documentclose button

Important: Inside Macintosh: Sound 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.

Action Flags

You can use constants to specify the action flags in the actions parameter of the SoundComponentPlaySourceBuffer function. See page 5-49 for information about this function.

#define kSourcePaused            (1 << 0)
#define kPassThrough             (1 << 16)
#define kNoSoundComponentChain   (1 << 17)
Constant descriptions

kSourcePaused
If this bit is set, the component chain is configured to play the specified sound but the playback is initially paused. In this case, your SoundComponentStartSource function must be called to begin playback. If this bit is clear, the playback begins immediately once the component chain is set up and configured.
kPassThrough
If this bit is set, the Sound Manager passes all data through to the sound output device component unmodified. A sound output device component that can handle any sample rate and sound format described in a sound parameter block should set this bit.
kNoSoundComponentChain
If this bit is set, the Sound Manager does not construct a component chain for processing the sound data.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996