1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 8<META http-equiv="Content-Style-Type" content="text/css"> 9<title>MIXSetSoundMode</title> 10</head> 11 12<body> 13 14<h1 align="left">MIXSetSoundMode</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution.h> 19#include <revolution/mix.h> 20 21#define MIX_SOUND_MODE_MONO OS_SOUND_MODE_MONO 22#define MIX_SOUND_MODE_STEREO OS_SOUND_MODE_STEREO 23#define MIX_SOUND_MODE_SURROUND 2 24#define MIX_SOUND_MODE_DPL2 3 25 26void MIXSetSoundMode(u32 mode); 27</pre></dd></dl> 28 29<h2>Arguments</h2> 30<TABLE class="arguments" border="1" > 31 <tr> 32<th>mode</th> 33 <td> 34 <TABLE class="arguments" border="1" > 35 <tr> 36<th>MIX_SOUND_MODE_MONO</th> 37<td>Sets the mixer to mono mode. Ignores left and right pan attenuation. Sounds panned to the surround bus are attenuated by -3 dB.</td> 38 </tr> 39 <tr> 40<th>MIX_SOUND_MODE_STEREO</th> 41<td>Sets the mixer to stereo/surround mode. Pan is applied to the left and right and the surround bus. Sounds panned to the surround bus are attenuated by -3 dB.</td> 42 </tr> 43 <tr> 44<th>MIX_SOUND_MODE_SURROUND</th> 45<td>Same as <code>MIX_SOUND_MODE_STEREO</code>.</td> 46 </tr> 47 <tr> 48<th>MIX_SOUND_MODE_DPL2</th> 49<td>Sets the mixer to Dolby Pro Logic II Mode. Each channel of AuxC is used for mixing the Main, AuxA and AuxB surround channels. AuxC is not supported in this mode.</td> 50 </tr> 51 </table> 52 </td> 53 </tr> 54</table> 55 56<h2>Return Values</h2> 57<p>None.</p> 58 59<H2>Description</H2> 60<P><code>MIXSetSoundMode</code> is used to set the mixer to the user desired mode. These modes should be set in conjunction with the mode set for AX.</P> 61 62<h2>See Also</h2> 63<p class="reference"> 64<A href="MIXGetSoundMode.html">MIXGetSoundMode</A> 65</p> 66 67<h2>Revision History</h2> 68<P> 692006/03/01 Initial version.<BR> 70</P> 71 72<hr><p>CONFIDENTIAL</p></body> 73</html> 74