| Miles Sound System SDK 7.2a |
The function AIL_sample_channel_levels returns an array of level-scaling factors for one or more combinations of source channels and destination speakers.
void AIL_sample_channel_levels( HSAMPLE S, MSS_SPEAKER const * source_speaker_indexes, MSS_SPEAKER const * dest_speaker_indexes, F32 *level_array, S32 n_levels ); |
This function lets you retrieve the per-channel volume scale factors passed to AIL_set_sample_channel_levels by the application or established at sample-initialization time.
This function will have no effect with per-voice hardware drivers that don't use the Miles software mixer. Currently, this applies only to the Xbox 1 and MSS_MC_DIRECTSOUND3D and MSS_MC_EAX? values from the MSS_MC_SPEC list.
For a detailed understanding of per-channel level control, you should carefully review the How do I use multi-channel sound output in Miles? FAQ before attempting to use this function.
Group:
Digital Audio Services
Related Functions:
AIL_set_sample_channel_levels
Related Basic Types:
F32, HSAMPLE, MSS_MC_SPEC, MSS_SPEAKER, S32, void
Related FAQs:
How do I use multi-channel sound output in Miles?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.