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<h2>C Specification</h2> 16 17<DL> 18<dd><pre><code>#include "THPSimple.h" (or "THPPlayer.h")</code></pre> 19 </dd> 20 <DD> 21<PRE><CODE>typedef struct 22{ 23 u32 sndChannels; 24 u32 sndFrequency; 25 u32 sndNumSamples; 26 u32 sndNumTracks; 27} THPAudioInfo;</CODE></PRE> 28 </DD> 29</DL> 30 31<H2>Description</H2> 32<p>This structure stores information about THP audio data. </p> 33 34<p><CODE>sndChannels</CODE>, <CODE>sndFrequency</CODE>, and <CODE>sndNumSamples</CODE> store the number of THP audio data channels, the playback frequency, and the total number of samples and audio tracks, respectively.</p> 35 36<p>The <a href="../THPSimple/THPSimpleGetAudioInfo.html"><code>THPSimpleGetAudioInfo</code></a> function sets the values in the THP simple player and the <a href="../THPPlayer/THPPlayerGetAudioInfo.html"><code>THPPlayerGetAudioInfo</code></a> function sets the values in the THP player.</p> 37 38<H2>See Also</H2> 39<P><a href="../THPSimple/THPSimpleGetAudioInfo.html"><code>THPSimpleGetAudioInfo</code></a>, <a href="../THPPlayer/THPPlayerGetAudioInfo.html"><code>THPPlayerGetAudioInfo</code></a></P> 40 41<H2>Revision History</H2> 42<P>2006/03/01 Initial version.</P> 43 44<hr> 45<P>CONFIDENTIAL</p> 46</BODY> 47</HTML>