| Miles Sound System SDK 7.2a |
The function AIL_sample_occlusion retrieves the current occlusion level of the given sample.
F32 AIL_sample_occlusion( HSAMPLE S ); |
Occlusion means the sound is completely blocked - a sound playing in another room separated by a wall, for example.
By default, samples are completely non-occluded.
Occlusions are implemented with a low-pass filter function and sound really cool (they aren't completely linear across the frequency scale.... with most providers, you can still faintly hear low-frequency sounds, like the guy with the stereo upstairs).
Example files that use this function: examms.cpp
Group:
Digital Audio Services
Related Functions:
AIL_sample_exclusion, AIL_sample_obstruction, AIL_set_sample_occlusion
Related Basic Types:
F32, HSAMPLE
Related FAQs:
What's the best way to port my older Miles application to MSS 7?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.