Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 1 - SoundSprocket / SoundSprocket Reference
Constants


Speaker Types

You specify the type of speakers being used by passing one of the following constants in the speakerKind field of a 3D sound setup structure:

enum {
   kSSpSpeakerKind_Stereo              = 0,
   kSSpSpeakerKind_Mono                = 1,
   kSSpSpeakerKind_Headphones          = 2
};
Constant descriptions

kSSpSpeakerKind_Stereo
The sound output device is a set of stereo speakers.
kSSpSpeakerKind_Mono
The sound output device is a monophonic speaker.
kSSpSpeakerKind_Headphones
The sound output device is a set of headphones.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996