SSpSource_GetVelocity
You can use the SSpSource_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
The SSpSource_GetVelocity function returns, in the outVelocity parameter, the most recent untransformed velocity vector of the sound source specified by the inSourceReference parameter. The velocity is the velocity set by the most recent call to SSpSource_SetVelocity.