Miles Sound System SDK 7.2a

AIL_sample_volume_levels

The function AIL_sample_volume_levels returns the current sample volumes, from 0 to 1.0.

void AIL_sample_volume_levels(
  HSAMPLE S,
  F32 *left_level,
  F32 *right_level
);

In Parameters

S
indicates the sample whose volume is to be retrieved.

Out Parameters

left_level
returns the left speaker volume level from 0 (minimum) to 1.0 (maximum).
right_level
returns the right speaker volume level from 0 (minimum) to 1.0 (maximum).

Discussion

See AIL_set_sample_volume_levels for more information.


Group: Digital Audio Services
Related Functions: AIL_sample_low_pass_cut_off, AIL_sample_reverb_levels, AIL_set_sample_reverb_levels, AIL_set_sample_volume_levels
Related Basic Types: F32, HSAMPLE, void
Related FAQs: I used an older version of Miles and now my volume and pan calls are weird - what's going on? And what's with the two types of volume functions?

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