SSpListener_GetMetersPerUnit
You can use theSSpListener_GetMetersPerUnit
function to get the number of meters in one listener unit.
OSStatus SSpListener_GetMetersPerUnit ( SSpListenerReference inListenerReference, float *outMetersPerUnit);
inListenerReference
- A listener reference.
outMetersPerUnit
- On exit, the number of meters in the listener unit of the specified listener.
- function result
- A result code.
DESCRIPTION
TheSSpListener_GetMetersPerUnit
function returns, in theoutMetersPerUnit
parameter, the number of meters in the listener unit associated with the listener specified by theinListenerReference
parameter. The default listener unit is one meter--that is, all units passed to SoundSprocket functions are interpreted as meters.