1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css"> 7<title>THPAudioGetTotalSamples</title> 8</head> 9 10<body> 11 12<h1>THPAudioGetTotalSamples</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <win32/thpaudio.h> 17 18u32 THPAudioGetTotalSamples(THPAudioHandle* handle, s32 frame); 19</pre></dd></dl> 20 21<h2>Arguments</h2> 22<TABLE class="arguments" border="1" > 23 <tr> 24<th>handle</th> 25<td>Pointer to a <A href="THPAudioHandle.html"><code>THPAudioHandle</code></A> structure.</td> 26 </tr> 27 <tr> 28<th><STRONG><EM><CODE>frame</CODE></EM></STRONG></th> 29<td>Number of THP movie data frames.</td> 30 </tr> 31</table> 32 33<h2>Return Values</h2> 34<p> 35Returns the number of audio data samples required for the THP movie data. 36</p> 37 38<h2>Description</h2> 39<p> 40Calculates the number of audio data samples required for THP movie data having a total of <SPAN class="argument">frame</SPAN> frames. 41</p> 42 43<h2>See Also</h2> 44<p class="reference"> 45<A href="THPAudioHandle.html">THPAudioHandle</A> 46</p> 47 48<h2>Revision History</h2> 49<P> 502006/03/01 Initial version.<br> 51</P> 52 53<hr><p>CONFIDENTIAL</p></body> 54</html>