SSpSource_GetVelocity
You can use theSSpSource_GetVelocity
function to get the velocity of a sound source.
OSStatus SSpSource_GetVelocity ( SSpSourceReference inSourceReference, TQ3Vector3D *outVelocity);
inSourceReference
- A source reference.
outVelocity
- On exit, the most recent untransformed velocity vector of the sound source.
- function result
- A result code.
DESCRIPTION
TheSSpSource_GetVelocity
function returns, in theoutVelocity
parameter, the most recent untransformed velocity vector of the sound source specified by theinSourceReference
parameter. The velocity is the velocity set by the most recent call toSSpSource_SetVelocity
.