58 lines
2.7 KiB
HTML
58 lines
2.7 KiB
HTML
<!-- This page was created with the RAD auto-doc generator. -->
|
|
<!doctype html public "-//w3c//dtd html 3.2 final//en">
|
|
<html>
|
|
<head>
|
|
<title>BinkSoundUseDirectSound</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=iso8859-1">
|
|
<meta name="ms.locale" content="en-us">
|
|
<meta name="description" content="tells Bink to use DirectSound as its sound output system.">
|
|
<meta name="ms-hkwd" content="BinkSoundUseDirectSound">
|
|
<link rel="stylesheet" title="default" href="reference.css" type="text/css" media="screen">
|
|
</head>
|
|
<body topmargin="0">
|
|
<table cellspacing=0 cellpadding=0 class=bar width=100% height=25>
|
|
<tr class=bar>
|
|
<td class=bar>
|
|
<i> <a href="index.html" class=trn>Bink SDK 1.5v</a></i>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h1>BinkSoundUseDirectSound</h1>
|
|
<p>The function <b>BinkSoundUseDirectSound</b> tells Bink to use DirectSound as its sound output system.</p>
|
|
<table width=100% cellspacing=0 class=pre>
|
|
<tr class=pre>
|
|
<td class=pre>
|
|
<pre><b><a href="S32.html" class=trn>S32</a> <a href="BinkSoundUseDirectSound.html" class=trn>BinkSoundUseDirectSound</a>(</b>
|
|
<b>  <a href="LPDIRECTSOUND.html" class=trn>LPDIRECTSOUND</a> </b><i>lpDirectSound</i>
|
|
<b>);</b></pre>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h4>In Parameters</h4>
|
|
<dl>
|
|
<dt><i>lpDirectSound</i></dt>
|
|
<dd>Specifies the DirectSound object handle that is returned from the DirectSound function, CreateDirectSound.</dd>
|
|
</dl>
|
|
<h4>Returns</h4>
|
|
<p>Returns whether Bink successfully switched to DirectSound as its output layer (non-zero for success, zero for failure).</p>
|
|
<h4>Discussion</h4>
|
|
<p>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 <a href="BinkOpen.html">BinkOpen</a> for the first time, or the function will fail.</p>
|
|
<p>
|
|
<br>
|
|
<b>Group:</b>
|
|
<a href="Bink API.html">Bink API</a><br>
|
|
<b>Related Sections:</b>
|
|
<a href="Sound under Win32.html">Sound under Win32</a><br>
|
|
<b>Related Functions:</b>
|
|
<a href="BinkOpen.html">BinkOpen</a>, <a href="BinkSetSoundSystem.html">BinkSetSoundSystem</a>, <a href="BinkSoundUseAX.html">BinkSoundUseAX</a>, <a href="BinkSoundUseMiles.html">BinkSoundUseMiles</a>, <a href="BinkSoundUseMusyX.html">BinkSoundUseMusyX</a>, <a href="BinkSoundUseSoundManager.html">BinkSoundUseSoundManager</a><br>
|
|
<b>Related Basic Types:</b>
|
|
<a href="LPDIRECTSOUND.html">LPDIRECTSOUND</a>, <a href="S32.html">S32</a></p>
|
|
<p align=center>
|
|
<a href="mailto:Bink1@radgametools.com">For technical support, e-mail Bink1@radgametools.com</a>
|
|
<br>
|
|
<a href="http://www.radgametools.com/bnkmain.htm?from=help1.5v">© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.</a>
|
|
</p>
|
|
<br>
|
|
</body>
|
|
</html>
|