diff options
Diffstat (limited to 'docs/doxygen/nel/a02246.html')
-rw-r--r-- | docs/doxygen/nel/a02246.html | 1492 |
1 files changed, 1492 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02246.html b/docs/doxygen/nel/a02246.html new file mode 100644 index 00000000..1c13f4fa --- /dev/null +++ b/docs/doxygen/nel/a02246.html @@ -0,0 +1,1492 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLSOUND::CSound class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLSOUND::CSound Class Reference</h1><code>#include <<a class="el" href="a06407.html">sound.h</a>></code> +<p> +<p>Inheritance diagram for NLSOUND::CSound: +<p><center><img src="a02246.png" usemap="#NLSOUND::CSound_map" border="0" alt=""></center> +<map name="NLSOUND::CSound_map"> +<area href="a02245.html" alt="NLSOUND::CBackgroundSound" shape="rect" coords="0,56,191,80"> +<area href="a02393.html" alt="NLSOUND::CComplexSound" shape="rect" coords="201,56,392,80"> +<area href="a02417.html" alt="NLSOUND::CContextSound" shape="rect" coords="402,56,593,80"> +<area href="a03394.html" alt="NLSOUND::CSimpleSound" shape="rect" coords="603,56,794,80"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A sound base class and its static properties <dl compact><dt><b>Author:</b></dt><dd>Olivier Cado <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00060">60</a> of file <a class="el" href="a06407.html">sound.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundw4">TSOUND_TYPE</a> { <a class="el" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw3">SOUND_SIMPLE</a>, +<a class="el" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw1">SOUND_COMPLEX</a>, +<a class="el" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw0">SOUND_BACKGROUND</a>, +<a class="el" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw2">SOUND_CONTEXT</a> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda0">CSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NLSOUND_1_1CSounda0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda1">getConeInnerAngle</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the inner angle of the cone. <a href="#NLSOUND_1_1CSounda1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda2">getConeOuterAngle</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the outer angle of the cone. <a href="#NLSOUND_1_1CSounda2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda3">getConeOuterGain</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the outer gain of the cone. <a href="#NLSOUND_1_1CSounda3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda4">getDirectionVector</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the direction vector. <a href="#NLSOUND_1_1CSounda4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda5">getDuration</a> ()=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the length of the sound in ms. <a href="#NLSOUND_1_1CSounda5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda6">getGain</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the gain. <a href="#NLSOUND_1_1CSounda6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda7">getLooping</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the looping state. <a href="#NLSOUND_1_1CSounda7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda8">getMaxDistance</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the max distance (if detailed()). <a href="#NLSOUND_1_1CSounda8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda9">getName</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name (must be unique). <a href="#NLSOUND_1_1CSounda9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda10">getPitch</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the pitch. <a href="#NLSOUND_1_1CSounda10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05381.html#a82">TSoundPriority</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda11">getPriority</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the initial priority. <a href="#NLSOUND_1_1CSounda11"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02246.html#NLSOUND_1_1CSoundw4">TSOUND_TYPE</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda12">getSoundType</a> ()=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of the sound. <a href="#NLSOUND_1_1CSounda12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda13">getSubSoundList</a> (std::vector< std::pair< std::string, <a class="el" href="a02246.html">CSound</a> * > > &subsounds) const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Used by the george sound plugin to check sound recursion (ie sound 'toto' use sound 'titi' witch also use sound 'toto' ...). <a href="#NLSOUND_1_1CSounda13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">NLMISC::TStringId</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda14">getUserVarControler</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda15">importForm</a> (const std::string &<a class="el" href="a04560.html#a1">filename</a>, <a class="el" href="a02551.html">NLGEORGES::UFormElm</a> &formRoot)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Load the sound parameters from georges' form. <a href="#NLSOUND_1_1CSounda15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda16">isDetailed</a> () const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if cone is meaningful. <a href="#NLSOUND_1_1CSounda16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda17">operator<</a> (const <a class="el" href="a02246.html">CSound</a> &otherSound) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda18">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &<a class="el" href="a04223.html#a626">s</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda19">setLooping</a> (bool looping)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set looping. <a href="#NLSOUND_1_1CSounda19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounda20">~CSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#NLSOUND_1_1CSounda20"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02246.html">CSound</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSounde0">createSound</a> (const std::string &<a class="el" href="a04560.html#a1">filename</a>, <a class="el" href="a02551.html">NLGEORGES::UFormElm</a> &formRoot)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Factory for specialized sound. <a href="#NLSOUND_1_1CSounde0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp0">_ConeInnerAngle</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp1">_ConeOuterAngle</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp2">_ConeOuterGain</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp3">_Direction</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp4">_Gain</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp5">_Looping</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp6">_MaxDist</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Clipping distance for complex or backgound sound. <a href="#NLSOUND_1_1CSoundp6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">NLMISC::TStringId</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp7">_Name</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp8">_Pitch</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05381.html#a82">TSoundPriority</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">NLMISC::TStringId</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundp10">_UserVarControler</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">An optional user var controler. <a href="#NLSOUND_1_1CSoundp10"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02246.html#NLSOUND_1_1CSoundn0">CAudioMixerUser</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSoundw4" doxytag="NLSOUND::CSound::TSOUND_TYPE" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02246.html#NLSOUND_1_1CSoundw4">NLSOUND::CSound::TSOUND_TYPE</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw3" doxytag="SOUND_SIMPLE" ></a>SOUND_SIMPLE</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw1" doxytag="SOUND_COMPLEX" ></a>SOUND_COMPLEX</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw0" doxytag="SOUND_BACKGROUND" ></a>SOUND_BACKGROUND</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw2" doxytag="SOUND_CONTEXT" ></a>SOUND_CONTEXT</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06407.html#l00067">67</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +<div class="fragment"><pre>00068 { +00069 <a class="code" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw3">SOUND_SIMPLE</a>, +00070 <a class="code" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw1">SOUND_COMPLEX</a>, +00071 <a class="code" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw0">SOUND_BACKGROUND</a>, +00072 <a class="code" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw2">SOUND_CONTEXT</a> +00073 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSounda0" doxytag="NLSOUND::CSound::CSound" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLSOUND::CSound::CSound </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06406.html#l00097">97</a> of file <a class="el" href="a06406.html">sound.cpp</a>. +<p> +References <a class="el" href="a05381.html#a82a66">NLSOUND::MidPri</a>. +<p> +<div class="fragment"><pre>00097 : +00098 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp4">_Gain</a>(1.0f), +00099 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp8">_Pitch</a>(1.0f), +00100 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp6">_MaxDist</a>(1000000.0f), +00101 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a>(MidPri), +00102 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp5">_Looping</a>(<span class="keyword">false</span>), +00103 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp0">_ConeInnerAngle</a>(6.283185f), +00104 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp1">_ConeOuterAngle</a>(6.283185f), +00105 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp2">_ConeOuterGain</a>( 1.0f ), +00106 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp10">_UserVarControler</a>(CStringMapper::emptyId()) +00107 { +00108 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda20" doxytag="NLSOUND::CSound::~CSound" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLSOUND::CSound::~<a class="el" href="a02246.html">CSound</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Destructor. +<p> + +<p> +Definition at line <a class="el" href="a06406.html#l00110">110</a> of file <a class="el" href="a06406.html">sound.cpp</a>. +<p> +<div class="fragment"><pre>00111 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSounde0" doxytag="NLSOUND::CSound::createSound" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02246.html">CSound</a> * NLSOUND::CSound::createSound </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>filename</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02551.html">NLGEORGES::UFormElm</a> & </td> + <td class="mdname" nowrap> <em>formRoot</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Factory for specialized sound. +<p> + +<p> +Definition at line <a class="el" href="a06406.html#l00043">43</a> of file <a class="el" href="a06406.html">sound.cpp</a>. +<p> +References <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma15">NLGEORGES::UFormElm::getDfnName()</a>, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma17">NLGEORGES::UFormElm::getNodeByName()</a>, <a class="el" href="a06406.html#l00140">importForm()</a>, <a class="el" href="a05622.html#l00333">nlassertex</a>, and <a class="el" href="a05622.html#l00135">nlwarning</a>. +<p> +<div class="fragment"><pre>00044 { +00045 NL_ALLOC_CONTEXT(NLSOUND_CSound); +00046 <a class="code" href="a02246.html#NLSOUND_1_1CSounda0">CSound</a> *ret = NULL; +00047 string soundType; +00048 +00049 <a class="code" href="a02551.html">NLGEORGES::UFormElm</a> *psoundType; +00050 +00051 <span class="keywordflow">if</span> (!formRoot.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma17">getNodeByName</a>(&psoundType, <span class="stringliteral">".SoundType"</span>)) +00052 { +00053 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"No SoundType in : %s"</span>, <a class="code" href="a05377.html#a2">filename</a>.c_str()); +00054 <span class="keywordflow">return</span> 0; +00055 } +00056 +00057 <span class="keywordflow">if</span> (psoundType != NULL) +00058 { +00059 std::string dfnName; +00060 psoundType-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma15">getDfnName</a>(dfnName); +00061 +00062 <span class="keywordflow">if</span> (dfnName == <span class="stringliteral">"simple_sound.dfn"</span>) +00063 { +00064 ret = <span class="keyword">new</span> CSimpleSound(); +00065 ret->importForm(filename, formRoot); +00066 } +00067 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (dfnName == <span class="stringliteral">"complex_sound.dfn"</span>) +00068 { +00069 ret = <span class="keyword">new</span> CComplexSound(); +00070 ret->importForm(filename, formRoot); +00071 } +00072 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (dfnName == <span class="stringliteral">"background_sound.dfn"</span>) +00073 { +00074 ret = <span class="keyword">new</span> CBackgroundSound(); +00075 ret->importForm(filename, formRoot); +00076 } +00077 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (dfnName == <span class="stringliteral">"context_sound.dfn"</span>) +00078 { +00079 ret = <span class="keyword">new</span> CContextSound(); +00080 ret->importForm(filename, formRoot); +00081 } +00082 <span class="keywordflow">else</span> +00083 { +00084 <a class="code" href="a04199.html#a8">nlassertex</a>(<span class="keyword">false</span>, (<span class="stringliteral">"SoundType unsuported : %s"</span>, dfnName.c_str())); +00085 } +00086 +00087 } +00088 +00089 <span class="keywordflow">return</span> ret; +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda1" doxytag="NLSOUND::CSound::getConeInnerAngle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NLSOUND::CSound::getConeInnerAngle </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the inner angle of the cone. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00098">98</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00134">_ConeInnerAngle</a>. +<p> +Referenced by <a class="el" href="a06390.html#l00290">NLSOUND::CSimpleSource::setDirection()</a>. +<p> +<div class="fragment"><pre>00098 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp0">_ConeInnerAngle</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda2" doxytag="NLSOUND::CSound::getConeOuterAngle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NLSOUND::CSound::getConeOuterAngle </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the outer angle of the cone. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00100">100</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00134">_ConeOuterAngle</a>. +<p> +Referenced by <a class="el" href="a06390.html#l00290">NLSOUND::CSimpleSource::setDirection()</a>. +<p> +<div class="fragment"><pre>00100 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp1">_ConeOuterAngle</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda3" doxytag="NLSOUND::CSound::getConeOuterGain" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NLSOUND::CSound::getConeOuterGain </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the outer gain of the cone. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00102">102</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00134">_ConeOuterGain</a>. +<p> +Referenced by <a class="el" href="a06390.html#l00290">NLSOUND::CSimpleSource::setDirection()</a>. +<p> +<div class="fragment"><pre>00102 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp2">_ConeOuterGain</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda4" doxytag="NLSOUND::CSound::getDirectionVector" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03128.html">NLMISC::CVector</a>& NLSOUND::CSound::getDirectionVector </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the direction vector. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00104">104</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +<div class="fragment"><pre>00104 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp3">_Direction</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda5" doxytag="NLSOUND::CSound::getDuration" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a11">uint32</a> NLSOUND::CSound::getDuration </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the length of the sound in ms. +<p> + +<p> +Implemented in <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda5">NLSOUND::CBackgroundSound</a>, <a class="el" href="a02393.html#NLSOUND_1_1CComplexSounda8">NLSOUND::CComplexSound</a>, <a class="el" href="a02417.html#NLSOUND_1_1CContextSounda6">NLSOUND::CContextSound</a>, and <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda8">NLSOUND::CSimpleSound</a>. +<p> +Referenced by <a class="el" href="a05427.html#l00353">NLSOUND::CAmbiantSource::calcRandomSparseSoundTime()</a>, <a class="el" href="a05591.html#l00056">NLSOUND::CComplexSound::getDuration()</a>, <a class="el" href="a05469.html#l00121">NLSOUND::CBackgroundSound::getDuration()</a>, <a class="el" href="a05593.html#l00577">NLSOUND::CComplexSource::onEvent()</a>, <a class="el" href="a05593.html#l00456">NLSOUND::CComplexSource::onUpdate()</a>, and <a class="el" href="a05593.html#l00105">NLSOUND::CComplexSource::playStuf()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda6" doxytag="NLSOUND::CSound::getGain" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NLSOUND::CSound::getGain </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the gain. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00090">90</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a05465.html#l01017">NLSOUND::CAudioMixerUser::addUserControledSource()</a>, <a class="el" href="a05593.html#l00037">NLSOUND::CComplexSource::CComplexSource()</a>, <a class="el" href="a05465.html#l01576">NLSOUND::CAudioMixerUser::createSource()</a>, and <a class="el" href="a05473.html#l00165">NLSOUND::CBackgroundSource::updateFilterValues()</a>. +<p> +<div class="fragment"><pre>00090 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp4">_Gain</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda7" doxytag="NLSOUND::CSound::getLooping" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLSOUND::CSound::getLooping </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the looping state. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00088">88</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00137">_Looping</a>. +<p> +Referenced by <a class="el" href="a05593.html#l00037">NLSOUND::CComplexSource::CComplexSource()</a>, and <a class="el" href="a05593.html#l00698">NLSOUND::CComplexSource::checkup()</a>. +<p> +<div class="fragment"><pre>00088 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp5">_Looping</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda8" doxytag="NLSOUND::CSound::getMaxDistance" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NLSOUND::CSound::getMaxDistance </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the max distance (if detailed()). +<p> + +<p> +Reimplemented in <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda8">NLSOUND::CBackgroundSound</a>, <a class="el" href="a02393.html#NLSOUND_1_1CComplexSoundd0">NLSOUND::CComplexSound</a>, and <a class="el" href="a02417.html#NLSOUND_1_1CContextSounda9">NLSOUND::CContextSound</a>. +<p> +Definition at line <a class="el" href="a06407.html#l00110">110</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a05612.html#l00136">NLSOUND::CContextSoundContainer< NbJoker, UseRandom, Shift >::addSound()</a>, <a class="el" href="a05471.html#l00093">NLSOUND::CBackgroundSoundManager::addSound()</a>, <a class="el" href="a05465.html#l01152">NLSOUND::CAudioMixerUser::getFreeTrack()</a>, <a class="el" href="a05591.html#l00177">NLSOUND::CComplexSound::getMaxDistance()</a>, <a class="el" href="a05469.html#l00154">NLSOUND::CBackgroundSound::getMaxDistance()</a>, and <a class="el" href="a06390.html#l00126">NLSOUND::CSimpleSource::play()</a>. +<p> +<div class="fragment"><pre>00110 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp6">_MaxDist</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda9" doxytag="NLSOUND::CSound::getName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a>& NLSOUND::CSound::getName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the name (must be unique). +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00108">108</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06414.html#l00151">NLSOUND::CSoundBank::addSound()</a>, <a class="el" href="a05612.html#l00136">NLSOUND::CContextSoundContainer< NbJoker, UseRandom, Shift >::addSound()</a>, and <a class="el" href="a05593.html#l00456">NLSOUND::CComplexSource::onUpdate()</a>. +<p> +<div class="fragment"><pre>00108 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp7">_Name</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda10" doxytag="NLSOUND::CSound::getPitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NLSOUND::CSound::getPitch </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the pitch. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00092">92</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a05593.html#l00037">NLSOUND::CComplexSource::CComplexSource()</a>, <a class="el" href="a05465.html#l01576">NLSOUND::CAudioMixerUser::createSource()</a>, <a class="el" href="a05593.html#l00577">NLSOUND::CComplexSource::onEvent()</a>, <a class="el" href="a05593.html#l00105">NLSOUND::CComplexSource::playStuf()</a>, and <a class="el" href="a05473.html#l00165">NLSOUND::CBackgroundSource::updateFilterValues()</a>. +<p> +<div class="fragment"><pre>00092 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp8">_Pitch</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda11" doxytag="NLSOUND::CSound::getPriority" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05381.html#a82">TSoundPriority</a> NLSOUND::CSound::getPriority </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the initial priority. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00094">94</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00133">_Priority</a>, and <a class="el" href="a06630.html#l00072">NLSOUND::TSoundPriority</a>. +<p> +Referenced by <a class="el" href="a05593.html#l00037">NLSOUND::CComplexSource::CComplexSource()</a>. +<p> +<div class="fragment"><pre>00094 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda12" doxytag="NLSOUND::CSound::getSoundType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02246.html#NLSOUND_1_1CSoundw4">TSOUND_TYPE</a> NLSOUND::CSound::getSoundType </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the type of the sound. +<p> + +<p> +Implemented in <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda13">NLSOUND::CBackgroundSound</a>, <a class="el" href="a02393.html#NLSOUND_1_1CComplexSounda19">NLSOUND::CComplexSound</a>, <a class="el" href="a02417.html#NLSOUND_1_1CContextSounda13">NLSOUND::CContextSound</a>, and <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundd0">NLSOUND::CSimpleSound</a>. +<p> +Referenced by <a class="el" href="a06414.html#l00193">NLSOUND::CSoundSerializer::serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda13" doxytag="NLSOUND::CSound::getSubSoundList" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLSOUND::CSound::getSubSoundList </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< std::pair< std::string, <a class="el" href="a02246.html">CSound</a> * > > & </td> + <td class="mdname1" valign="top" nowrap> <em>subsounds</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Used by the george sound plugin to check sound recursion (ie sound 'toto' use sound 'titi' witch also use sound 'toto' ...). +<p> + +<p> +Implemented in <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda14">NLSOUND::CBackgroundSound</a>, <a class="el" href="a02393.html#NLSOUND_1_1CComplexSounda20">NLSOUND::CComplexSound</a>, <a class="el" href="a02417.html#NLSOUND_1_1CContextSounda14">NLSOUND::CContextSound</a>, and <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda17">NLSOUND::CSimpleSound</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda14" doxytag="NLSOUND::CSound::getUserVarControler" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> NLSOUND::CSound::getUserVarControler </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00121">121</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00145">_UserVarControler</a>. +<p> +<div class="fragment"><pre>00121 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundp10">_UserVarControler</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda15" doxytag="NLSOUND::CSound::importForm" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLSOUND::CSound::importForm </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>filename</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02551.html">NLGEORGES::UFormElm</a> & </td> + <td class="mdname" nowrap> <em>root</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load the sound parameters from georges' form. +<p> +Load the sound parameters from georges' form +<p> +Reimplemented in <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda16">NLSOUND::CBackgroundSound</a>, <a class="el" href="a02393.html#NLSOUND_1_1CComplexSounda22">NLSOUND::CComplexSound</a>, <a class="el" href="a02417.html#NLSOUND_1_1CContextSounda16">NLSOUND::CContextSound</a>, and <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda19">NLSOUND::CSimpleSound</a>. +<p> +Definition at line <a class="el" href="a06406.html#l00140">140</a> of file <a class="el" href="a06406.html">sound.cpp</a>. +<p> +References <a class="el" href="a06407.html#l00134">_ConeInnerAngle</a>, <a class="el" href="a06407.html#l00134">_ConeOuterAngle</a>, <a class="el" href="a06407.html#l00134">_ConeOuterGain</a>, <a class="el" href="a06407.html#l00137">_Looping</a>, <a class="el" href="a06407.html#l00133">_Priority</a>, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma44">NLGEORGES::UFormElm::getValueByName()</a>, <a class="el" href="a05381.html#a82a64">NLSOUND::HighestPri</a>, <a class="el" href="a05381.html#a82a65">NLSOUND::HighPri</a>, <a class="el" href="a05381.html#a82a67">NLSOUND::LowPri</a>, <a class="el" href="a05381.html#a82a66">NLSOUND::MidPri</a>, <a class="el" href="a05587.html#l00079">NLMISC::Pi</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a06407.html#l00052">NLSOUND::Sqrt12_2</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>. +<p> +Referenced by <a class="el" href="a06406.html#l00043">createSound()</a>. +<p> +<div class="fragment"><pre>00141 { +00142 <span class="comment">// Name</span> +00143 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp7">_Name</a> = CStringMapper::map(CFile::getFilenameWithoutExtension(filename)); +00144 +00145 <span class="comment">// InternalConeAngle</span> +00146 <a class="code" href="a04558.html#a11">uint32</a> inner; +00147 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(inner, <span class="stringliteral">".InternalConeAngle"</span>); +00148 <span class="keywordflow">if</span> (inner > 360) +00149 { +00150 inner = 360; +00151 } +00152 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp0">_ConeInnerAngle</a> = (<span class="keywordtype">float</span>) (<a class="code" href="a05378.html#a44">Pi</a> * inner / 180.0f); <span class="comment">// convert to radians</span> +00153 +00154 <span class="comment">// ExternalConeAngle</span> +00155 <a class="code" href="a04558.html#a11">uint32</a> outer; +00156 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(outer, <span class="stringliteral">".ExternalConeAngle"</span>); +00157 <span class="keywordflow">if</span> (outer > 360) +00158 { +00159 outer = 360; +00160 } +00161 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp1">_ConeOuterAngle</a>= (<span class="keywordtype">float</span>) (<a class="code" href="a05378.html#a44">Pi</a> * outer / 180.0f); <span class="comment">// convert to radians</span> +00162 +00163 <span class="comment">// Loop</span> +00164 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(_Looping, <span class="stringliteral">".Loop"</span>); +00165 +00166 <span class="comment">// Gain</span> +00167 <a class="code" href="a04558.html#a10">sint32</a> gain; +00168 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(gain, <span class="stringliteral">".Gain"</span>); +00169 <span class="keywordflow">if</span> (gain > 0) +00170 { +00171 gain = 0; +00172 } +00173 <span class="keywordflow">if</span> (gain < -100) +00174 { +00175 gain = -100; +00176 } +00177 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp4">_Gain</a> = (<span class="keywordtype">float</span>) pow(10.0, gain / 20.0); <span class="comment">// convert dB to linear gain</span> +00178 +00179 <span class="comment">// External gain</span> +00180 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(gain, <span class="stringliteral">".ExternalGain"</span>); +00181 <span class="keywordflow">if</span> (gain > 0) +00182 { +00183 gain = 0; +00184 } +00185 <span class="keywordflow">if</span> (gain < -100) +00186 { +00187 gain = -100; +00188 } +00189 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp2">_ConeOuterGain</a> = (<span class="keywordtype">float</span>) pow(10.0, gain / 20.0); <span class="comment">// convert dB to linear gain</span> +00190 +00191 <span class="comment">// Direction</span> +00192 <span class="keywordtype">float</span> <a class="code" href="a04223.html#a572">x</a>, <a class="code" href="a04223.html#a573">y</a>, <a class="code" href="a04223.html#a574">z</a>; +00193 +00194 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(x, <span class="stringliteral">".Direction.X"</span>); +00195 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(y, <span class="stringliteral">".Direction.Y"</span>); +00196 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(z, <span class="stringliteral">".Direction.Z"</span>); +00197 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp3">_Direction</a> = CVector(x, y, z); +00198 +00199 +00200 <span class="comment">// Pitch</span> +00201 <a class="code" href="a04558.html#a10">sint32</a> trans; +00202 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(trans, <span class="stringliteral">".Transpose"</span>); +00203 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp8">_Pitch</a> = (<span class="keywordtype">float</span>) pow(Sqrt12_2, trans); <span class="comment">// convert semi-tones to playback speed</span> +00204 +00205 <span class="comment">// Priority</span> +00206 <a class="code" href="a04558.html#a11">uint32</a> prio = 0; +00207 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(prio, <span class="stringliteral">".Priority"</span>); +00208 <span class="keywordflow">switch</span> (prio) +00209 { +00210 <span class="keywordflow">case</span> 0: +00211 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a> = <a class="code" href="a05381.html#a82a67">LowPri</a>; +00212 <span class="keywordflow">break</span>; +00213 <span class="keywordflow">case</span> 1: +00214 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a> = <a class="code" href="a05381.html#a82a66">MidPri</a>; +00215 <span class="keywordflow">break</span>; +00216 <span class="keywordflow">case</span> 2: +00217 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a> = <a class="code" href="a05381.html#a82a65">HighPri</a>; +00218 <span class="keywordflow">break</span>; +00219 <span class="keywordflow">case</span> 3: +00220 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a> = <a class="code" href="a05381.html#a82a64">HighestPri</a>; +00221 <span class="keywordflow">break</span>; +00222 <span class="keywordflow">default</span>: +00223 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp9">_Priority</a> = <a class="code" href="a05381.html#a82a66">MidPri</a>; +00224 } +00225 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda16" doxytag="NLSOUND::CSound::isDetailed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NLSOUND::CSound::isDetailed </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if cone is meaningful. +<p> + +<p> +Implemented in <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda17">NLSOUND::CBackgroundSound</a>, <a class="el" href="a02393.html#NLSOUND_1_1CComplexSounda23">NLSOUND::CComplexSound</a>, <a class="el" href="a02417.html#NLSOUND_1_1CContextSounda18">NLSOUND::CContextSound</a>, and <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda20">NLSOUND::CSimpleSound</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda17" doxytag="NLSOUND::CSound::operator<" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLSOUND::CSound::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02246.html">CSound</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>otherSound</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00123">123</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00143">_Name</a>, and <a class="el" href="a06470.html#l00083">NLMISC::CStringMapper::unmap()</a>. +<p> +<div class="fragment"><pre>00124 { +00125 <span class="keywordflow">return</span> <a class="code" href="a03450.html#NLMISC_1_1CStringMappere4">NLMISC::CStringMapper::unmap</a>(_Name) < <a class="code" href="a03450.html#NLMISC_1_1CStringMappere4">NLMISC::CStringMapper::unmap</a>(otherSound._Name); +00126 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda18" doxytag="NLSOUND::CSound::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLSOUND::CSound::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda19">NLSOUND::CBackgroundSound</a>, <a class="el" href="a02393.html#NLSOUND_1_1CComplexSounda25">NLSOUND::CComplexSound</a>, <a class="el" href="a02417.html#NLSOUND_1_1CContextSounda20">NLSOUND::CContextSound</a>, and <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda22">NLSOUND::CSimpleSound</a>. +<p> +Definition at line <a class="el" href="a06406.html#l00114">114</a> of file <a class="el" href="a06406.html">sound.cpp</a>. +<p> +References <a class="el" href="a06407.html#l00134">_ConeInnerAngle</a>, <a class="el" href="a06407.html#l00134">_ConeOuterAngle</a>, <a class="el" href="a06407.html#l00134">_ConeOuterGain</a>, <a class="el" href="a06407.html#l00137">_Looping</a>, <a class="el" href="a06407.html#l00133">_Priority</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a06414.html#l00193">NLSOUND::CSoundSerializer::serial()</a>. +<p> +<div class="fragment"><pre>00115 { +00116 <a class="code" href="a04223.html#a626">s</a>.serial(_Gain); +00117 <a class="code" href="a04223.html#a626">s</a>.serial(_Pitch); +00118 <a class="code" href="a04223.html#a626">s</a>.serialEnum(_Priority); +00119 <a class="code" href="a04223.html#a626">s</a>.serial(_ConeInnerAngle, _ConeOuterAngle, _ConeOuterGain); +00120 <a class="code" href="a04223.html#a626">s</a>.serial(_Direction); +00121 <a class="code" href="a04223.html#a626">s</a>.serial(_Looping); +00122 <a class="code" href="a04223.html#a626">s</a>.serial(_MaxDist); +00123 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a626">s</a>.isReading()) +00124 { +00125 std::string name; +00126 <a class="code" href="a04223.html#a626">s</a>.serial(name); +00127 <a class="code" href="a02246.html#NLSOUND_1_1CSoundp7">_Name</a> = CStringMapper::map(name); +00128 } +00129 <span class="keywordflow">else</span> +00130 { +00131 std::string name = CStringMapper::unmap(_Name); +00132 <a class="code" href="a04223.html#a626">s</a>.serial(name); +00133 } +00134 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda19" doxytag="NLSOUND::CSound::setLooping" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLSOUND::CSound::setLooping </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>looping</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set looping. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00113">113</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +References <a class="el" href="a06407.html#l00137">_Looping</a>. +<p> +<div class="fragment"><pre>00113 { <a class="code" href="a02246.html#NLSOUND_1_1CSoundp5">_Looping</a> = looping; } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSoundn0" doxytag="NLSOUND::CSound::CAudioMixerUser" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend class <a class="el" href="a02235.html">CAudioMixerUser</a><code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00062">62</a> of file <a class="el" href="a06407.html">sound.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSoundp0" doxytag="NLSOUND::CSound::_ConeInnerAngle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a02246.html#NLSOUND_1_1CSoundp0">NLSOUND::CSound::_ConeInnerAngle</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00134">134</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06407.html#l00098">getConeInnerAngle()</a>, <a class="el" href="a06406.html#l00140">importForm()</a>, and <a class="el" href="a06406.html#l00114">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp1" doxytag="NLSOUND::CSound::_ConeOuterAngle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a02246.html#NLSOUND_1_1CSoundp1">NLSOUND::CSound::_ConeOuterAngle</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00134">134</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06407.html#l00100">getConeOuterAngle()</a>, <a class="el" href="a06406.html#l00140">importForm()</a>, and <a class="el" href="a06406.html#l00114">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp2" doxytag="NLSOUND::CSound::_ConeOuterGain" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a02246.html#NLSOUND_1_1CSoundp2">NLSOUND::CSound::_ConeOuterGain</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00134">134</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06407.html#l00102">getConeOuterGain()</a>, <a class="el" href="a06406.html#l00140">importForm()</a>, and <a class="el" href="a06406.html#l00114">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp3" doxytag="NLSOUND::CSound::_Direction" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> <a class="el" href="a02246.html#NLSOUND_1_1CSoundp3">NLSOUND::CSound::_Direction</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00135">135</a> of file <a class="el" href="a06407.html">sound.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp4" doxytag="NLSOUND::CSound::_Gain" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a02246.html#NLSOUND_1_1CSoundp4">NLSOUND::CSound::_Gain</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00131">131</a> of file <a class="el" href="a06407.html">sound.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp5" doxytag="NLSOUND::CSound::_Looping" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02246.html#NLSOUND_1_1CSoundp5">NLSOUND::CSound::_Looping</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00137">137</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06407.html#l00088">getLooping()</a>, <a class="el" href="a06406.html#l00140">importForm()</a>, <a class="el" href="a06406.html#l00114">serial()</a>, and <a class="el" href="a06407.html#l00113">setLooping()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp6" doxytag="NLSOUND::CSound::_MaxDist" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a02246.html#NLSOUND_1_1CSoundp6">NLSOUND::CSound::_MaxDist</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Clipping distance for complex or backgound sound. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00140">140</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a05591.html#l00177">NLSOUND::CComplexSound::getMaxDistance()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp7" doxytag="NLSOUND::CSound::_Name" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> <a class="el" href="a02246.html#NLSOUND_1_1CSoundp7">NLSOUND::CSound::_Name</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00143">143</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06407.html#l00123">operator<()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp8" doxytag="NLSOUND::CSound::_Pitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a02246.html#NLSOUND_1_1CSoundp8">NLSOUND::CSound::_Pitch</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00132">132</a> of file <a class="el" href="a06407.html">sound.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp9" doxytag="NLSOUND::CSound::_Priority" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05381.html#a82">TSoundPriority</a> <a class="el" href="a02246.html#NLSOUND_1_1CSoundp9">NLSOUND::CSound::_Priority</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00133">133</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06407.html#l00094">getPriority()</a>, <a class="el" href="a06406.html#l00140">importForm()</a>, and <a class="el" href="a06406.html#l00114">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp10" doxytag="NLSOUND::CSound::_UserVarControler" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> <a class="el" href="a02246.html#NLSOUND_1_1CSoundp10">NLSOUND::CSound::_UserVarControler</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +An optional user var controler. +<p> + +<p> +Definition at line <a class="el" href="a06407.html#l00145">145</a> of file <a class="el" href="a06407.html">sound.h</a>. +<p> +Referenced by <a class="el" href="a06407.html#l00121">getUserVarControler()</a>, and <a class="el" href="a05465.html#l00895">NLSOUND::CAudioMixerUser::initUserVar()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06407.html">sound.h</a><li><a class="el" href="a06406.html">sound.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:42:13 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |