Bink SDK 1.5v

BinkSoundUseDirectSound

The function BinkSoundUseDirectSound tells Bink to use DirectSound as its sound output system.

S32 BinkSoundUseDirectSound(
  LPDIRECTSOUND lpDirectSound
);

In Parameters

lpDirectSound
Specifies the DirectSound object handle that is returned from the DirectSound function, CreateDirectSound.

Returns

Returns whether Bink successfully switched to DirectSound as its output layer (non-zero for success, zero for failure).

Discussion

This function (macro actually) tells Bink to use DirectSound for its audio output. This function is global - you only need to call it once. You must, however, call it before you call BinkOpen for the first time, or the function will fail.


Group: Bink API
Related Sections: Sound under Win32
Related Functions: BinkOpen, BinkSetSoundSystem, BinkSoundUseAX, BinkSoundUseMiles, BinkSoundUseMusyX, BinkSoundUseSoundManager
Related Basic Types: LPDIRECTSOUND, S32

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