1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<title>AXInit</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
9<META http-equiv="Content-Style-Type" content="text/css">
10</head>
11
12<body>
13
14<h1 align="left">AXInit</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/ax.h&gt;
19
20void AXInit(void);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<p>None.</p>
25
26<h2>Return Values</h2>
27<p>None.</p>
28
29<h2>Description</h2>
30<p>Among other things, the <code>AXInit</code> function initializes the AX library, starts the audio DSP task, and starts AI-DMA.</p>
31
32<p>This function must be called before any other AX functions. The application must ensure that the AI library has been initialized before calling this function.</p>
33
34<p>Also note that AX requires the use of the default stack for AI (in other words, the <a href="../../ai/General/AIInit.html"><code>AIInit</code></a> function must be called with a <code>NULL</code> argument).</p>
35
36<p><B>Note: This function calls the <code>AIRegisterDMACallback</code> function internally. Because of this, any AI DMA interrupt callback set using the <code>AIRegisterDMACallback</code> function before this function was called will be overwritten by the AX callback. If you are using an original AI DMA interrupt callback, be sure to set it using <code>AIRegisterDMACallback</code> only after calling this function.</B></p>
37
38<h2>See Also</h2>
39<p>
40<a href="../../ai/General/AIInit.html"><CODE>AIInit</CODE></a><BR> <a href="../../ai/DMA/AIRegisterDMACallback.html"><CODE>AIRegisterDMACallback</CODE></a>
41</p>
42
43<H2>Revision History</H2>
44<p>
452008/12/26 Added a note about the AI DMA interrupt callback.<br>2006/10/24 Deleted a description related to AR and ARQ.<br>2006/03/01 Initial version.
46</p>
47
48<hr><p>CONFIDENTIAL</p></body>
49</html>
50