Bink SDK 1.5v

# BINKTRACK

The structure BINKTRACK is a structure returned from BinkOpenTrack.

    struct BINKTRACK
    {
      U32 Frequency;
      U32 Bits;
      U32 Channels;
      U32 MaxSize;
    };

#### Out Members

Frequency
  Specifies the sound frequency of the audio track.
Bits
  Specifies the bit depth of the audio track (8 or 16).
Channels
  Specifies the number of channels in the audio track (1 = mono, 2 = stereo).
MaxSize
  Specifies the maximum amount of sound data in bytes that is stored in any one video frame of the movie (usually frame 1). You need to allocate this large of a buffer for the destination address passed to BinkGetTrackData.

#### Discussion

The BINKTRACK structure is pointed to by the HBINKTRACK handle that is returned from BinkOpenTrack. You can dereference the pointer to access any of these information fields. Note that you should never change any of these values!

Group: Bink API
Related Functions: BinkGetTrackData, BinkOpenTrack
Related Basic Types: HBINKTRACK, U32

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