SSpListener_SetPosition
You can use theSSpListener_SetPosition
function 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_SetPosition
function sets the position of the listener specified by theinListenerReference
parameter to the point specified by theinPosition
parameter. TheinPosition
parameter 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_CalcLocalization
function. The default position of a listener is the origin--the point (0, 0, 0).