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 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::snd::Sound3DCalculator::CalcPanParam</title> 51 </head> 52 <body> 53 <h1><CODE>nw::snd::Sound3DCalculator::CalcPanParam</CODE> Structure</h1> 54 <div class="section"> 55 <b>Header file: </b>nw/snd/snd_Sound3DCalculator.h</div> 56 <h2>Syntax</h2> 57 <div class="section"> 58 <pre class="definition">struct CalcPanParam 59{ 60 <span>f32</span> stereoSpeakerAngle; 61 <span>f32</span> surroundSpeakerFrontAngle; 62 <span>f32</span> surroundSpeakerRearAngle; 63 <span>f32</span> surroundPanOffset; 64}; 65</pre> 66 </div> 67 <h2>Description</h2> 68 <div class="section"> 69 <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> 70 <a name="variable" id="variable"> 71 <h2>Member Variables</h2> 72 <div class="section"> 73 <table class="members"> 74 <tr> 75 <td width="100"> </td> 76 <th> 77 <span class="argument">stereoSpeakerAngle</span> 78 </th> 79 <td>In stereo mode, the angle (in radians) from the center of the speaker position.</td> 80 </tr> 81 <tr> 82 <td width="100"> </td> 83 <th> 84 <span class="argument">surroundSpeakerFrontAngle</span> 85 </th> 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> 95 </td> 96 </tr> 97 <tr> 98 <td width="100"> </td> 99 <th> 100 <span class="argument">surroundPanOffset</span> 101 </th> 102 <td> 103 </td> 104 </tr> </table> 105 </div> 106 </a> <a name="function" id="function"> 107 <h2>Member Functions</h2> 108 <div class="section"> 109 <table class="members"> 110 <tr> 111 <td width="100"> </td> 112 <th> 113 <a href="../../../../nw/snd/Sound3DCalculator/CalcPanParam/CalcPanParam.html">CalcPanParam</a> 114 </th> 115 <td>Constructor.</td> 116 </tr> </table> 117 </div> 118 </a> 119 <h2>See Also</h2> 120 <div class="section"> 121 <p class="reference"><a href="../../../../nw/snd/Sound3DCalculator/CalcPan.html"><CODE>CalcPan</CODE></a><br /> </p> 122 </div> 123 <h2>Revision History</h2> 124 <div class="section"> 125 <dl class="history"> 126 <dt>2010/05/11</dt> 127 <dd>Changed the name <CODE>speakerAngleStereo</CODE> to <CODE>stereoSpeakerAngle</CODE>.<br /> 128 </dd> 129 <dt>2010/03/12</dt> 130 <dd>Initial version.<br /> 131 </dd> 132 </dl> 133 </div> 134 <hr><p>CONFIDENTIAL</p></body> 135</html>