SSpListener_SetMetersPerUnit
You can use theSSpListener_SetMetersPerUnit
function to set the number of meters in one listener unit.
OSStatus SSpListener_SetMetersPerUnit ( SSpListenerReference inListenerReference, float inMetersPerUnit);
inListenerReference
- A listener reference.
inMetersPerUnit
- The number of meters in the listener unit of the specified listener.
- function result
- A result code.
DESCRIPTION
TheSSpListener_SetMetersPerUnit
function sets the number of meters in the listener unit of the listener specified by theinListenerReference
parameter to the value specified by theinMetersPerUnit
parameter. For example, to have SoundSprocket interpret all values you pass its high-level functions as feet, you should set theinMetersPerUnit
parameter to 0.3048.