Miles Sound System SDK 7.2a

AIL_quick_set_volume

The function AIL_quick_set_volume controls the volume of an audio handle.

void AIL_quick_set_volume(
  HAUDIO audio,
  F32 volume,
  F32 extra
);

In Parameters

audio
specifies the audio handle that you wish to control.
volume
specifies the new volume level (0 to 1.0).
extra
specifies the extra volume information. For audio handles containing digital data, this is the pan setting (0-1.0: 0.0 is hard left, 1.0 is hard right). For audio handles containing MIDI data, this is the delay time over which the requested volume-scaling takes place.

Discussion

You can use this function even if you haven't started playback yet.


Group: Quick Integration Services
Related Functions: AIL_quick_set_speed
Related Basic Types: F32, HAUDIO, void

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