Bink SDK 1.5v

BinkGetTrackID

The function BinkGetTrackID returns the track ID for the specified track index.

U32 BinkGetTrackID(
  HBINK bink,
  U32 track_index
);

In Parameters

bink
Specifies the Bink handle.
track_index
Specifies the track index to query.

Returns

Returns the track ID of the specified track index.

Discussion

Track indexes in Bink always range from zero to the maximum number of audio tracks in the file. This function allows you to get the original track ID that was entered by the person that mixed your Bink files. The maximum number of tracks in a Bink file is specified by the NumTracks field of the BINK structure. So, if NumTracks was 2, then valid track indexes would be 0 and 1.


Group: Bink API
Related Sections: Audio Tracks in Bink
Related Functions: BinkCloseTrack
Related Basic Types: HBINK, U32
Related Structures: BINK

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