1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>MIXGetSoundMode</TITLE>
9</HEAD>
10<BODY>
11
12<H1 align="left">MIXGetSoundMode</H1>
13
14<H2>Syntax</H2>
15<dl><dd><pre class="construction">
16#include &lt;revolution.h&gt;
17#include &lt;revolution/mix.h&gt;
18
19#define MIX_SOUND_MODE_MONO     OS_SOUND_MODE_MONO
20#define MIX_SOUND_MODE_STEREO   OS_SOUND_MODE_STEREO
21#define MIX_SOUND_MODE_SURROUND 2
22#define MIX_SOUND_MODE_DPL2     3
23
24u32 MIXGetSoundMode(void);
25</pre></dd></dl>
26
27<H2>Arguments</H2>
28<P>None.</P>
29
30<H2>Return Values</H2>
31<TABLE class="arguments" border="1" >
32  <TBODY>
33    <TR>
34<TH>u32 mode</TH>
35      <TD>
36        <TABLE class="arguments" border="1" >
37          <tr>
38<th>MIX_SOUND_MODE_MONO</th>
39<td>Sets the mixer to mono mode. Ignores left and right pan attenuation.</td>
40          </tr>
41          <tr>
42<th>MIX_SOUND_MODE_STEREO</th>
43<td>The mixer is set to stereo/surround mode. Pan is applied to the left and right and the surround bus.</td>
44          </tr>
45          <tr>
46<th>MIX_SOUND_MODE_SURROUND</th>
47<td>Same as <CODE>MIX_SOUND_MODE_STEREO</CODE>.</td>
48          </tr>
49          <tr>
50<th>MIX_SOUND_MODE_DPL2</th>
51<td>The mixer is set 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>
52          </tr>
53        </table>
54      </TD>
55    </TR>
56  </TBODY>
57</TABLE>
58
59<H2>Description</H2>
60<P><CODE>MIXGetSoundMode</CODE> returns the current mode of the mixer. Applications that use the mixer should call this function at the appropriate time to determine if mode dependent settings should be applied.</P>
61
62<h2>See Also</h2>
63<p class="reference">
64<A href="MIXSetSoundMode.html">MIXSetSoundMode</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>