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<H1 align="left">MIXGetSoundMode</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution.h> 16#include <revolution/mix.h></CODE></PRE> 17 <DD> 18<PRE><CODE>#define MIX_SOUND_MODE_MONO OS_SOUND_MODE_MONO 19#define MIX_SOUND_MODE_STEREO OS_SOUND_MODE_STEREO 20#define MIX_SOUND_MODE_SURROUND 2 21#define MIX_SOUND_MODE_DPL2 3 22 23u32 MIXGetSoundMode(void);</CODE></PRE> 24</DL> 25<H2>Arguments</H2> 26<P>None.</P> 27<H2>Return Values</H2> 28<TABLE border="1" cellpadding="3" cellspacing="0.1"> 29 <TBODY> 30 <TR> 31<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>u32 mode</CODE></STRONG></EM></TD> 32 <TD width="520"> 33 <table border="1" cellspacing="0.1" width="500"> 34 <tr> 35<td width="150"><CODE>MIX_SOUND_MODE_MONO</CODE></td> 36<td width="350">Sets the mixer to mono mode. Ignores left and right pan attenuation.</td> 37 </tr> 38 <tr> 39<td width="150"><CODE>MIX_SOUND_MODE_STEREO</CODE></td> 40<td width="350">Sets the mixer to stereo/surround mode. Pan is applied to the left and right and the surround bus.</td> 41 </tr> 42 <tr> 43<td width="150"><CODE>MIX_SOUND_MODE_SURROUND</CODE></td> 44<td width="350">Same as <CODE>MIX_SOUND_MODE_STEREO</CODE>.</td> 45 </tr> 46 <tr> 47<td width="150"><CODE>MIX_SOUND_MODE_DPL2</CODE></td> 48<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> 49 </tr> 50 </table> 51 </TD> 52 </TR> 53 </TBODY> 54</TABLE> 55 56<H2>Description</H2> 57<P>The <CODE>MIXGetSoundMode</CODE> function returns the current mixer mode. Applications that use the mixer should call this function at the appropriate time to determine if mode dependent settings should be applied.</P> 58 59<h2>See Also</h2> 60<p> 61<A href="MIXSetSoundMode.html"><font face="Courier New">MIXSetSoundMode</font></A> 62</p> 63 64<h2>Revision History</h2> 65<P>2006/03/01 Initial version.</P> 66 67<hr> 68<P>CONFIDENTIAL</p> 69</BODY> 70</HTML>