Bink SDK 1.5v

BinkSetVolume

The function BinkSetVolume sets the volume of a Bink sound track.

void BinkSetVolume(
  HBINK bink,
  U32 trackID,
  S32 volume
);

In Parameters

bink
Specifies the Bink handle.
trackID
Specifies the track ID to change the volume for.
volume
Specifies the new volume level.

Discussion

This function sets the volume for the currently playing Bink sound track. The volume parameter specifies the new volume setting from 0 (silent) to 32768 (normal) to 65536 (maximum amplification). Note that most sound systems don't do amplification (neither Miles nor DirectSound does) - in these cases, volumes above 32768 are the same as 32768.


Group: Bink API
Related Sections: Audio Tracks in Bink
Related Functions: BinkSetPan, BinkSetSoundOnOff
Related Basic Types: HBINK, S32, U32, void

For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.