Bink SDK 1.5v

# BinkSetMixBinVolumes

The function BinkSetMixBinVolumes sets the volumes of the individual mix bins on an Xbox.

    void BinkSetMixBinVolumes(
      HBINK bink,
      U32 trackID,
      u32_ptr mix_bins,
      s32_ptr volumes,
      U32 total
    );

#### In Parameters

bink
  Specifies the Bink handle.
trackID
  Specifies the track ID to change the mix bin volumes for.
mix_bins
  Points to an array of the mix bins for each of the volumes.
volumes
  Points to an array of the new volume levels.
total
  The number of mix bins and volumes in the mix_bins and volumes arrays.

#### Discussion

This function allows you to set the volume for each of the mix bin destinations on an Xbox. See the Xbox documentation for the mix bin destination values. 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: BinkSetMixBins, BinkSetPan
Related Basic Types: HBINK, U32, s32_ptr, u32_ptr, void

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