Bink SDK 1.5v

# BinkSetPan

The function BinkSetPan sets the speaker pan (left to right balance) of a Bink sound track.

    void BinkSetPan(
      HBINK bink,
      U32 trackID,
      S32 pan
    );

#### In Parameters

bink
  Specifies the Bink handle.
trackID
  Specifies the track ID to change the pan for.
pan
  Specifies the new pan setting.

#### Discussion

This function sets the speaker pan (left to right balance) for the currently playing Bink sound track. The pan parameter specifies the new left to right balance setting from 0 (all the way left) to 32768 (split evenly between left and right), and 65536 (all the way right). You can't set the pan on an Xbox. To control the pan on an Xbox, use the BinkSetMixBins and BinkSetMixBinVolumes functions.

Group: Bink API
Related Sections: Audio Tracks in Bink
Related Functions: BinkSetMixBinVolumes, BinkSetMixBins, BinkSetVolume
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.