1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<title>AXInitEx</title>
6<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
8<META http-equiv="Content-Style-Type" content="text/css">
9<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
10</head>
11
12<body>
13
14<h1 align="left">AXInitEx</h1>
15
16
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><code>#include &lt;revolution.h&gt;
20
21void AXInitEx(u32 outputBufferMode);</CODE></pre>
22</BLOCKQUOTE>
23<h2>Arguments</h2>
24<TABLE border="1" cellpadding="3" cellspacing="0.1">
25  <tr>
26<TD width="120" bgcolor="#ffffe8" valign="middle"><font face="Courier New"><em><strong> u32 outputBufferMode</strong></em></font></TD>
27      <TD width="520">
28      <table border="1" cellspacing="0.1" width="500">
29        <tr>
30<td width="150"><font face="Courier New">TRUE</font></td>
31<td width="350">Chooses triple-buffer.</td>
32        </tr>
33        <tr>
34<td width="150"><font face="Courier New">FALSE</font></td>
35<td width="350">Chooses double-buffer.</td>
36        </tr>
37      </table>
38    </TD>
39  </tr>
40</TABLE>
41<h2>Return Values</h2>
42<P>None.</P>
43<h2>Description</h2>
44<p>If <CODE>TRUE</CODE> is specified for the <EM><STRONG>flag</STRONG></EM> argument, a triple-buffer structure is used for the output buffer. If <CODE>FALSE</CODE> is specified, a double-buffer structure is used for the output buffer. When triple-buffer is selected, it can prevent pop noises caused by a heavy DSP load. If a double buffer structure is used, delays in sound output will be shorter than those seen with a triple buffer structure. With a triple buffer structure, sound latency is increased by 3 milliseconds relative to a double buffer structure.
45<p>To initialize AX, the <CODE>AXInitEx</CODE> or <CODE>AXInit</CODE> functions must be called. If the <CODE>AXInit</CODE> function is called, the double buffer structure is used.
46<h2>See Also</h2>
47<P><A href="AXInit.html">AXInit</A><br> <A href="../../ai/General/AIInit.html">AIInit</A><br>
48</P>
49<H2>Revision History</H2>
50<P>03/01/2006 Initial version.</P></body>
51</html>