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>AIGetDMABytesLeft</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META name="GENERATOR" content="Microsoft FrontPage 5.0">
9<META http-equiv="Content-Style-Type" content="text/css">
10</head>
11
12<body>
13
14<h1 align="left">AIGetDMABytesLeft</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/ai.h&gt;
19
20u32 AIGetDMABytesLeft(void);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<p>None.</p>
25
26<h2>Return Values</h2>
27<p>The remaining amount of audio data (in bytes, always 32-byte aligned) without DMA being performed.</p>
28
29<h2>Description</h2>
30<p>The <code>AIGetDMABytesLeft</code> function returns the amount of audio data left in the audio buffer that is currently outputted to the AI and has not yet been transferred by the DMA. Measured in bytes, this data is aligned on a 32-byte boundary--the same as the DMA block size.</p>
31
32<h2>See Also</h2>
33<P class="reference">
34<a href="AIInitDMA.html">AIInitDMA</a>
35</P>
36
37<H2>Revision History</H2>
38<P>
392006/03/01 Initial version.<br>
40</P>
41
42<hr><p>CONFIDENTIAL</p></body>
43</html>
44