SSpListener_SetMedium
You can use theSSpListener_SetMediumfunction to set the sound medium and relative humidity of a listener.
OSStatus SSpListener_SetMedium ( SSpListenerReference inListenerReference, UInt32 inMedium, float inHumidity);
inListenerReference- A listener reference.
inMedium- The desired sound medium of the listener. See "Sound Media" (page 1-25) for a description of the available sound media.
inHumidity- The desired relative humidity of the listener. Humidity is a floating-point value between 0.0 (indicating dry air) and 100.0 (indicating dense fog).
- function result
- A result code.
DESCRIPTION
TheSSpListener_SetMediumfunction sets the sound medium and relative humidity of the listener specified by theinListenerReferenceparameter to the values specified in theinMediumandinHumidityparameters. TheinHumidityparameter is used only if the value in theinMediumparameter iskSSpMedium_Air; otherwise, you should setinHumidityto 0.0.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help