Previous Book Contents Book Index Next

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


Sound Media

A sound medium is a substance through which sound can travel. You can use these constants to specify a sound medium:

enum {
   kSSpMedium_Air                      = 0,
   kSSpMedium_Water                    = 1
};
Constant descriptions

kSSpMedium_Air
The sound is traveling through air at standard temperature and pressure (STP).
kSSpMedium_Water
The sound is traveling through water.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996