Miles Sound System SDK 7.2a

AIL_sample_3D_distances

The function AIL_sample_3D_distances returns the current minimum and maximum distances for the specified sample handle.

void AIL_sample_3D_distances(
  HSAMPLE S,
  F32 *max_dist,
  F32 *min_dist,
  S32 *auto_3D_wet_atten
);

In Parameters

S
indicates the sample handle to query.

Out Parameters

max_dist
returns the current maximum front distance setting.
min_dist
returns the current minimum front distance setting.
auto_3D_wet_atten
returns whether or not environmental reverb effects on this HSAMPLE will be attenuated along with the HSAMPLE itself as the source recedes from the listener's location.

Discussion

You can pass NULL for any value that you're not interested in.


Group: Digital Audio Services
Related Functions: AIL_active_sample_count, AIL_register_falloff_function_callback, AIL_sample_3D_cone, AIL_set_sample_3D_distances
Related Basic Types: F32, HSAMPLE, S32, void
Related FAQs: My 3D sound isn't falling off like I expected - what's going on?

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.