SSpSource_GetReferenceDistance
You can use theSSpSource_GetReferenceDistance
function to get the reference distance of a sound source.
OSStatus SSpSource_GetReferenceDistance ( SSpSourceReference inSourceReference, float *outReferenceDistance);
inSourceReference
- A source reference.
outReferenceDistance
- On exit, the distance, in listener units, from a listener to the point at which a sound source was recorded.
- function result
- A result code.
DESCRIPTION
TheSSpSource_GetReferenceDistance
function returns, in theoutReferenceDistance
parameter, the distance from a listener to the point at which the sound source specified by theinSourceReference
parameter was recorded.