SSpSource_SetPosition
You can use theSSpSource_SetPositionfunction to set the position of a sound source.
OSStatus SSpSource_SetPosition ( SSpSourceReference inSourceReference, const TQ3Point3D *inPosition);
inSourceReference- A source reference.
inPosition- The desired untransformed position of the sound source.
- function result
- A result code.
DESCRIPTION
TheSSpSource_SetPositionfunction sets the position of the sound source specified by theinSourceReferenceparameter to the point specified by theinPositionparameter. TheinPositionparameter specifies the untransformed position of the sound source (that is, the position of the sound source before the sound source's transform is applied). The actual position of the sound source is calculated at the time you call theSSpSource_CalcLocalizationfunction. The default position of a sound source is the origin, the point (0, 0, 0).