![]() |
Gestalt Selector and Response Bits |
Header: Gestalt.h |
enum { gestaltSoundAttr = 'snd ', gestaltStereoCapability = 0, gestaltStereoMixing = 1, gestaltSoundIOMgrPresent = 3, gestaltBuiltInSoundInput = 4, gestaltHasSoundInputDevice = 5, gestaltPlayAndRecord = 6, gestalt16BitSoundIO = 7, gestaltStereoInput = 8, gestaltLineLevelInput = 9, gestaltSndPlayDoubleBuffer = 10, gestaltMultiChannels = 11, gestalt16BitAudioSupport = 12 };
The Gestalt selector which you pass to the Gestalt function.
Set if the built-in sound hardware is able to produce stereo sounds.
Set if the built-in sound hardware mixes both left and right channels of stereo sound into a single audio signal for the internal speaker.
Set if the Sound Input Manager is available.
Set if a built-in sound input device is available.
Set if a sound input device is available. This device can be either built-in or external.
Set if the built-in sound hardware is able to play and record sounds simultaneously. If this bit is clear, the built-in sound hardware can either play or record, but not do both at once. This bit is valid only if the gestaltBuiltInSoundInput bit is set, and it applies only to any built-in sound input and output hardware.
Set if the built-in sound hardware is able to play and record 16-bit samples. This indicates that built-in hardware necessary to handle 16-bit data is available.
This bit is not defined for versions of the Sound Manager prior to version 3.0.
Set if the built-in sound hardware can record stereo sounds.
This bit is not defined for versions of the Sound Manager prior to version 3.0.
Set if the built-in sound input port requires line level input.
This bit is not defined for versions of the Sound Manager prior to version 3.0.
Set if the Sound Manager supports the play-from-disk functions.
This bit is not defined for versions of the Sound Manager prior to version 3.0.
Set if the Sound Manager supports multiple channels of sound.
This bit is not defined for versions of the Sound Manager prior to version 3.0.
Set if the Sound Manager can handle 16-bit audio data. This indicates that software necessary to handle 16-bit data is available.
This bit is not defined for versions of the Sound Manager prior to version 3.0.
You can pass the gestaltSoundAttr selector to the Gestalt function to determine information about the sound input capabilities of a Macintosh computer.
The Gestalt function returns information by setting or clearing bits in the response parameter. The bits relevant to the Sound Input Manager are defined by constants.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)