SSpListener_GetReverb
You can use theSSpListener_GetReverb
function to get the current reverberation model of a listener.
OSStatus SSpListener_GetReverb ( SSpListenerReference inListenerReference, float *outRoomSize, float *outRoomReflectivity, float *outReverbAttenuation);
inListenerReference
- A listener reference.
outRoomSize
- On exit, the current room size of the listener. Room size is the distance, in listener units, between two reverberant walls spaced equidistant from the listener. A room size of 0.0 indicates no reverberation.
outRoomReflectivity
- On exit, the current room reflectivity attenuation.
outReverbAttenuation
- On exit, the current reverberation attenuation.
- function result
- A result code.
DESCRIPTION
TheSSpListener_GetReverb
function returns, in theoutRoomSize
,outRoomReflectivity
, andoutReverbAttenuation
parameters, the current room size, room reflectivity, and reverberation attenuation of the listener specified by theinListenerReference
parameter. By default, there is no reverberation.