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>THPSimpleSetSoundMode</title> 10</head> 11 12<body> 13 14<h1>THPSimpleSetSoundMode</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include "THPSimple.h" 19 20#define THP_SOUND_MODE_MONO 0 21#define THP_SOUND_MODE_STEREO 1 22#define THP_SOUND_MODE_SURROUND THP_SOUND_MODE_STEREO 23#define THP_SOUND_MODE_DPL2 THP_SOUND_MODE_STEREO 24 25void THPSimpleSetSoundMode(s32 mode); 26</pre></dd></dl> 27 28<h2>Arguments</h2> 29<TABLE class="arguments" border="1" > 30 <tr> 31<th>mode</th> 32 <td> 33 <TABLE class="arguments" border="1" > 34 <tr> 35<th>THP_SOUND_MODE_MONO</th> 36<td>Sets the THP simple player's sound output mode to monaural. If the THP audio data is stereo, the left and right channels are mixed and made monaural.</td> 37 </tr> 38 <tr> 39<th>THP_SOUND_MODE_STEREO</th> 40<td>Sets the THP simple player's sound output mode to stereo. If the THP audio data is monaural, the data is copied and made stereo.</td> 41 </tr> 42 <tr> 43<th>THP_SOUND_MODE_SURROUND</th> 44<td>Same as <code>THP_SOUND_MODE_STEREO</code>.</td> 45 </tr> 46 <tr> 47<th>THP_SOUND_MODE_DPL2</th> 48<td>Same as <code>THP_SOUND_MODE_STEREO</code>.</td> 49 </tr> 50 </table> 51 </td> 52 </tr> 53</table> 54 55<h2>Return Values</h2> 56<p>None.</p> 57 58<H2>Description</H2> 59<p>The <code>THPSimpleSetSoundMode</code> function configures the THP simple player's sound output mode. These modes should be set in conjunction with the mode set for AX.</P> 60 61<p>The THP simple player's default output mode is <code>THP_SOUND_MODE_STEREO</code>.</p> 62 63<H2>See Also</H2> 64 65<H2>Revision History</H2> 66<P> 672008/02/28 Initial version.<br> 68</P> 69 70<hr><p>CONFIDENTIAL</p></body> 71</html> 72