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_GetPosition

You can use the SSpSource_GetPosition function to get the position of a sound source.

OSStatus SSpSource_GetPosition (
SSpSourceReference inSourceReference,
TQ3Point3D *outPosition);
inSourceReference
A source reference.
outPosition
On exit, the most recent untransformed position of the sound source.
function result
A result code.
DESCRIPTION
The SSpSource_GetPosition function returns, in the outPosition parameter, the most recent untransformed position of the sound source specified by the inSourceReference parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996