SSpListener_GetReverb
You can use theSSpListener_GetReverbfunction 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_GetReverbfunction returns, in theoutRoomSize,outRoomReflectivity, andoutReverbAttenuationparameters, the current room size, room reflectivity, and reverberation attenuation of the listener specified by theinListenerReferenceparameter. By default, there is no reverberation.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help