Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 1 - SoundSprocket / SoundSprocket Reference
SoundSprocket Functions / Creating and Managing 3D Sound Sources


SSpSource_SetMode

You can use the SSpSource_SetMode function to set the source mode for a sound source.

OSStatus SSpSource_SetMode (
SSpSourceReference inSourceReference,
UInt32 inMode);
inSourceReference
A source reference.
inMode
The desired source mode of the sound source. See "Source Modes" (page 1-26) for a description of the available source modes.
function result
A result code.
DESCRIPTION
The SSpSource_SetMode function sets the source mode of the sound source specified by the inSourceReference parameter to the mode specified by the inMode parameter. The default source mode is kSSpSourceMode_Localized.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996