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
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><CODE>#include &lt;revolution.h&gt;
20#include &lt;revolution/mix.h&gt;
21
22#define MIX_SOUND_MODE_MONO         OS_SOUND_MODE_MONO
23#define MIX_SOUND_MODE_STEREO       OS_SOUND_MODE_STEREO
24#define MIX_SOUND_MODE_SURROUND     2
25#define MIX_SOUND_MODE_DPL2         3
26
27void MIXSetSoundMode(u32 mode);</CODE></pre>
28</BLOCKQUOTE>
29<h2>Arguments</h2>
30<table border="1" cellpadding="3" cellspacing="0.1">
31  <tr>
32<td width="120" bgcolor="#ffffe8"><em><strong><code>mode</code></strong></em></td>
33    <td width="520">
34      <table border="1" cellspacing="0.1" width="500">
35        <tr>
36<td width="150"><strong><code>MIX_SOUND_MODE_MONO</code></strong></td>
37<td width="350">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<td width="150"><strong><code>MIX_SOUND_MODE_STEREO</code></strong></td>
41<td width="350">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<td width="150"><strong><code>MIX_SOUND_MODE_SURROUND</code></strong></td>
45<td width="350">Same as <CODE>MIX_SOUND_MODE_STEREO</CODE>.</td>
46        </tr>
47        <tr>
48<td width="150"><strong><code>MIX_SOUND_MODE_DPL2</code></strong></td>
49<td width="350">Sets the mixer to Dolby Pro Logic II Mode.  Each Aux C channel is used for mixing the Main, Aux A, and Aux B surround channels. AUX C 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>The <CODE>MIXSetSoundMode</CODE> function is used to set the mixer to the desired mode. These modes should be set in conjunction with the mode set for AX.</P>
61
62<h2>See Also</h2>
63<p>
64<A href="MIXGetSoundMode.html"><font face="Courier New">MIXGetSoundMode</font></A>
65</p>
66
67<h2>Revision History</h2>
68<P>2006/03/01 Initial version.</P>
69
70<hr>
71<P>CONFIDENTIAL</p>
72</BODY>
73</HTML>
74