SSpListener_SetPosition
You can use theSSpListener_SetPositionfunction to set the position of a listener.
OSStatus SSpListener_SetPosition ( SSpListenerReference inListenerReference, const TQ3Point3D *inPosition);
inListenerReference- A listener reference.
inPosition- The desired untransformed position of the listener.
- function result
- A result code.
DESCRIPTION
TheSSpListener_SetPositionfunction sets the position of the listener specified by theinListenerReferenceparameter to the point specified by theinPositionparameter. TheinPositionparameter specifies the untransformed position of the listener (that is, the position of the listener before the listener's transform is applied). The actual position of the listener is calculated at the time you call theSSpSource_CalcLocalizationfunction. The default position of a listener is the origin--the point (0, 0, 0).