1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<title>AXGetAdpcmOutputSize</title> 6<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 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">AXGetAdpcmOutputSize</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/ax.h> 19 20s32 AXGetAdpcmOutputSize(s32 samples); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24 25<table class="arguments" border="1" > 26 <tr> 27<th>samples</th> 28<td>The number of 16-bit PCM data samples to encode in DSP-ADPCM format.</td> 29 </tr> 30</table> 31 32<h2>Return Values</h2> 33 34<p>Returns the size of DSP-ADPCM data output by the <code>AXGetAdpcmData</code> function.</p> 35 36<h2>Description</h2> 37 38<p>This function returns the size of DSP-ADPCM data output by the <code>AXGetAdpcmData</code> function.</p> 39 40<p>Programs must first allocate a region as large as the size obtained from this function and then pass that address as the <code>AXGetAdpcmData</code> function's sixth argument, <SPAN class="argument">output</SPAN>.</p> 41 42<h2>See Also</h2> 43 44<p class="reference"> 45<a href="AXGetAdpcmData.html">AXGetAdpcmData</a> 46</p> 47 48<H2>Revision History</H2> 49 50<p> 512008/02/25 Initial version. 52</p> 53 54<hr><p>CONFIDENTIAL</p></body> 55</html> 56