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<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>THPAudioInfo</title> 10</head> 11 12<body> 13 14<h1>THPAudioInfo</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include "THPSimple.h" (or "THPPlayer.h") 19 20typedef struct 21{ 22 u32 sndChannels; 23 u32 sndFrequency; 24 u32 sndNumSamples; 25 u32 sndNumTracks; 26} THPAudioInfo; 27</pre></dd></dl> 28 29<H2>Description</H2> 30<p>The <code>THPAudioInfo</code> structure stores information about THP audio data.</p> 31 32<p><SPAN class="argument">sndChannels</SPAN>, <SPAN class="argument">sndFrequency</SPAN>, <SPAN class="argument">sndNumSamples</SPAN>, and <SPAN class="argument">sndNumTracks</SPAN> respectively store the THP audio data channel count, the playback frequency, the total number of samples, and number of audio tracks.</p> 33 34<p>The settings of the <code>THPAudioInfo</code> structure are made by the <a href="../THPSimple/THPSimpleGetAudioInfo.html"><code>THPSimpleGetAudioInfo</code></a> function for the THP simple player and by the <a href="../THPPlayer/THPPlayerGetAudioInfo.html"><code>THPPlayerGetAudioInfo</code></a> function for the THP player.</p> 35 36<H2>See Also</H2> 37<P class="reference"> 38<a href="../THPSimple/THPSimpleGetAudioInfo.html">THPSimpleGetAudioInfo</a>, 39<a href="../THPPlayer/THPPlayerGetAudioInfo.html">THPPlayerGetAudioInfo</a> 40</P> 41 42<H2>Revision History</H2> 43<P> 442006/03/01 Initial version.<br> 45</P> 46 47<hr><p>CONFIDENTIAL</p></body> 48</html>