SSpSource_GetActualVelocity
You can use theSSpSource_GetActualVelocity
function to get the world-space velocity of a sound source.
OSStatus SSpSource_GetActualVelocity ( SSpSourceReference inSourceReference, TQ3Vector3D *outVelocity);
inSourceReference
- A source reference.
outVelocity
- On exit, the world-space velocity vector of the sound source.
- function result
- A result code.
DESCRIPTION
TheSSpSource_GetActualVelocity
function returns, in theoutVelocity
parameter, the world-space (that is, the transformed) velocity used in the most recent call toSSpSource_CalcLocalization
for the sound source specified by theinSourceReference
parameter.