1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nw::snd::Sound3DCalculator::CalcPanParam</title> 49 </head> 50 <body> 51 <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/snd/Overview.html">snd</a>::<a href="../../../../nw/snd/Sound3DCalculator/Overview.html">Sound3DCalculator</a>::CalcPanParam</CODE> Structure</h1> 52 <div class="section"> 53 <b>Header file: </b>nw/snd/snd_Sound3DCalculator.h</div> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">struct CalcPanParam 57{ 58 <span>f32</span> stereoSpeakerAngle; 59 <span>f32</span> surroundSpeakerFrontAngle; 60 <span>f32</span> surroundSpeakerRearAngle; 61 <span>f32</span> surroundPanOffset; 62}; 63</pre> 64 </div> 65 <h2>Description</h2> 66 <div class="section"> 67 <p>Parameter structure for pan calculation.</p><p>This is the parameter structure that is referenced when the pan is calculated by <a href="../../../../nw/snd/Sound3DCalculator/CalcPan.html"><CODE>CalcPan</CODE></a>.</p><p>The <CODE>stereoSpeakerAngle</CODE> argument sets the speaker position to use when the pan is s calculated. The speakers are placed symmetrically on the left and right, and the angle from the front of both speakers is specified in radians. The speaker is positioned at 45° in stereo mode.</p></div> 68 <a name="variable" id="variable"> 69 <h2>Member Variables</h2> 70 <div class="section"> 71 <table class="members"> 72 <tr> 73 <td width="100"> </td> 74 <th> 75 <span class="argument">stereoSpeakerAngle</span> 76 </th> 77 <td width="100"><span>f32</span></td> 78 <td>In stereo mode, the angle (in radians) from the center of the speaker position.</td> 79 </tr> 80 <tr> 81 <td width="100"> </td> 82 <th> 83 <span class="argument">surroundSpeakerFrontAngle</span> 84 </th> 85 <td width="100"><span>f32</span></td> 86 <td> 87 </td> 88 </tr> 89 <tr> 90 <td width="100"> </td> 91 <th> 92 <span class="argument">surroundSpeakerRearAngle</span> 93 </th> 94 <td width="100"><span>f32</span></td> 95 <td> 96 </td> 97 </tr> 98 <tr> 99 <td width="100"> </td> 100 <th> 101 <span class="argument">surroundPanOffset</span> 102 </th> 103 <td width="100"><span>f32</span></td> 104 <td> 105 </td> 106 </tr> </table> 107 </div> 108 </a> <a name="function" id="function"> 109 <h2>Member Functions</h2> 110 <div class="section"> 111 <table class="members"> 112 <tr> 113 <td width="100"> </td> 114 <th> 115 <a href="../../../../nw/snd/Sound3DCalculator/CalcPanParam/CalcPanParam.html">CalcPanParam</a> 116 </th> 117 <td>Constructor.</td> 118 </tr> </table> 119 </div> 120 </a> 121 <h2>See Also</h2> 122 <div class="section"> 123 <p class="reference"><a href="../../../../nw/snd/Sound3DCalculator/CalcPan.html"><CODE>CalcPan</CODE></a><br /> </p> 124 </div> 125 <h2>Revision History</h2> 126 <div class="section"> 127 <dl class="history"> 128 <dt>2010/05/11</dt> 129 <dd>Changed the name <CODE>speakerAngleStereo</CODE> to <CODE>stereoSpeakerAngle</CODE>.<br /> 130 </dd> 131 <dt>2010/03/12</dt> 132 <dd>Initial version.<br /> 133 </dd> 134 </dl> 135 </div> 136 <hr><p>CONFIDENTIAL</p></body> 137</html> 138