1<html>
2
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
6<title>THPAudioGetTotalSamples</title>
7</head>
8
9<body>
10
11<h1>THPAudioGetTotalSamples</h1>
12
13<h2>C Specification</h2>
14
15<dl>
16<dd><pre><code>#include &lt;win32/thpaudio.h&gt;</code></pre></dd>
17<dd><pre><code>u32 THPAudioGetTotalSamples(THPAudioHandle* handle, s32 frame);</code></pre></dd>
18</dl>
19
20<h2>Arguments</h2>
21<table border="1" cellpadding="3" cellspacing="0.1">
22  <tr>
23<td width="120" bgcolor="#ffffe8"><strong><em><CODE>handle</CODE></em></strong></td>
24<td width="520">Pointer to a <A href="THPAudioHandle.html"><code>THPAudioHandle</code></A> structure.</td>
25  </tr>
26  <tr>
27<td width="120" bgcolor="#ffffe8"><strong><em><CODE>frame</CODE></em></strong></td>
28<td width="520">Number of THP movie data frames. </td>
29  </tr>
30</table>
31
32<h2>Return Values</h2>
33<p>
34Returns the number of audio data samples required for the THP movie data.
35</p>
36
37<h2>Description</h2>
38<p>
39Calculates the number of audio data samples required for THP movie data that has a total of <STRONG><EM><code>frame</code></EM></STRONG> frames.
40</p>
41
42<h2>See Also</h2>
43<p>
44<A href="THPAudioHandle.html"><code>THPAudioHandle</code></A>
45</p>
46
47<h2>Revision History</h2>
48<P>03/01/2006 Initial version.</P>
49</body>
50</html>