Bink SDK 1.5v |
The function BinkOpenTrack opens a handle to the low-level audio track decoder.
HBINKTRACK BinkOpenTrack(   HBINK bink,   U32 track_index ); |
Returns a track ID handle to extract audio from.
This function allows you to open an audio track that you can use to extract the low-level sound data from. This function is usually used by applications that are routing sound to their own audio playback system. The returned HBINKTRACK handle is also a pointer to a BINKTRACK structure which contains format information about the audio track. 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. This function is rarely used - most of the time audio playback is completely automatic with Bink.
Group:
Bink API
Related Functions:
BinkCloseTrack, BinkGetTrackData
Related Basic Types:
HBINK, HBINKTRACK, U32
Related Structures:
BINK, BINKTRACK
For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.