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>THPAudioGetInfo</title> 7</head> 8 9<body> 10 11<h1>THPAudioGetInfo</h1> 12 13<h2>C Specification</h2> 14 15<dl> 16<dd><pre><code>#include <win32/thpaudio.h></code></pre></dd> 17<dd><pre><code>s32 THPAudioGetInfo(THPAudioHandle* handle, THPAudioInfo* audioInfo);</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>audioInfo</CODE></em></strong></td> 28<td width="520">Pointer to the <A href="../../common/THPAudioInfo.html"><code>THPAudioInfo</code></A> structure.</td> 29 </tr> 30</table> 31 32<h2>Return Values</h2> 33<p> 34<CODE>TRUE</CODE> if successful, <CODE>FALSE</CODE> otherwise. 35</p> 36 37<h2>Description</h2> 38<p> 39This function gets the channel number and playback frequency of the <A href="THPAudioHandle.html"><code>THPAudioHandle</code> structure</A> specified by <STRONG><EM><code>handle</code></EM></STRONG> and sets these values in the <A href="../../common/THPAudioInfo.html"><code>THPAudioInfo</code></A> structure specified by <STRONG><EM><code>audioInfo</code></EM></STRONG>. 40</p> 41 42<h2>See Also</h2> 43<p> 44<A href="THPAudioHandle.html"><code>THPAudioHandle</code></A>, <A href="../../common/THPAudioInfo.html"><code>THPAudioInfo</code></A> 45</p> 46 47<h2>Revision History</h2> 48<P>2006/03/01 Initial version.</P> 49<hr> 50<P>CONFIDENTIAL</p> 51</BODY> 52</HTML>