diff options
Diffstat (limited to 'docs/doxygen/nel/a02245.html')
-rw-r--r-- | docs/doxygen/nel/a02245.html | 1593 |
1 files changed, 1593 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02245.html b/docs/doxygen/nel/a02245.html new file mode 100644 index 00000000..4c26d3f4 --- /dev/null +++ b/docs/doxygen/nel/a02245.html @@ -0,0 +1,1593 @@ +<!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::CBackgroundSound 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::CBackgroundSound Class Reference</h1><code>#include <<a class="el" href="a05470.html">background_sound.h</a>></code> +<p> +<p>Inheritance diagram for NLSOUND::CBackgroundSound: +<p><center><img src="a02245.png" usemap="#NLSOUND::CBackgroundSound_map" border="0" alt=""></center> +<map name="NLSOUND::CBackgroundSound_map"> +<area href="a02246.html" alt="NLSOUND::CSound" shape="rect" coords="0,0,191,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A background sound static properties <dl compact><dt><b>Author:</b></dt><dd>Boris Boucher <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05470.html#l00046">46</a> of file <a class="el" href="a05470.html">background_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="a02245.html#NLSOUND_1_1CBackgroundSounda0">CBackgroundSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NLSOUND_1_1CBackgroundSounda0"></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="a02245.html#NLSOUND_1_1CBackgroundSounda5">getDuration</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the length of the sound in ms. <a href="#NLSOUND_1_1CBackgroundSounda5"></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="a02245.html#NLSOUND_1_1CBackgroundSounda8">getMaxDistance</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the max distance (if detailed()). <a href="#NLSOUND_1_1CBackgroundSounda8"></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>const std::vector< <a class="el" href="a02247.html">TSoundInfo</a> > & </td><td class="memItemRight" valign=bottom><a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda12">getSounds</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02246.html#NLSOUND_1_1CSoundw4">TSOUND_TYPE</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda13">getSoundType</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of the sound. <a href="#NLSOUND_1_1CBackgroundSounda13"></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="a02245.html#NLSOUND_1_1CBackgroundSounda14">getSubSoundList</a> (std::vector< std::pair< std::string, <a class="el" href="a02246.html">CSound</a> * > > &subsounds) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name (must be unique) 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_1CBackgroundSounda14"></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="a02245.html#NLSOUND_1_1CBackgroundSounda16">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_1CBackgroundSounda16"></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="a02245.html#NLSOUND_1_1CBackgroundSounda17">isDetailed</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if cone is meaningful. <a href="#NLSOUND_1_1CBackgroundSounda17"></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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda19">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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSounda21">~CBackgroundSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#NLSOUND_1_1CBackgroundSounda21"></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>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSoundr0">_Duration</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSoundr1">_DurationValid</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02247.html">TSoundInfo</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The list of sound composing the background sound with there repective filter. <a href="#NLSOUND_1_1CBackgroundSoundr2"></a><br><br></td></tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSoundw4" doxytag="NLSOUND::CBackgroundSound::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><code> [inherited]</code> + </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_1CBackgroundSounda0" doxytag="NLSOUND::CBackgroundSound::CBackgroundSound" ></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::CBackgroundSound::CBackgroundSound </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="a05469.html#l00043">43</a> of file <a class="el" href="a05469.html">background_sound.cpp</a>. +<p> +<div class="fragment"><pre>00044 : <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr0">_Duration</a>(0), <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr1">_DurationValid</a>(<span class="keyword">false</span>) +00045 { +00046 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CBackgroundSounda21" doxytag="NLSOUND::CBackgroundSound::~CBackgroundSound" ></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::CBackgroundSound::~<a class="el" href="a02245.html">CBackgroundSound</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></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="a05469.html#l00048">48</a> of file <a class="el" href="a05469.html">background_sound.cpp</a>. +<p> +<div class="fragment"><pre>00049 { +00050 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSounde0" doxytag="NLSOUND::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::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> <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSounda0">CBackgroundSound</a>(); +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::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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::CBackgroundSound::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, inherited]</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_1CBackgroundSounda5" doxytag="NLSOUND::CBackgroundSound::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"> <a class="el" href="a04558.html#a11">uint32</a> NLSOUND::CBackgroundSound::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> [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> +Implements <a class="el" href="a02246.html#NLSOUND_1_1CSounda5">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a05469.html#l00121">121</a> of file <a class="el" href="a05469.html">background_sound.cpp</a>. +<p> +References <a class="el" href="a05470.html#l00105">_Duration</a>, <a class="el" href="a05470.html#l00107">_DurationValid</a>, <a class="el" href="a02246.html#NLSOUND_1_1CSounda5">NLSOUND::CSound::getDuration()</a>, <a class="el" href="a05465.html#l01510">NLSOUND::CAudioMixerUser::getSoundId()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00122 { +00123 <span class="keywordflow">if</span> (<a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr1">_DurationValid</a>) +00124 <span class="keywordflow">return</span> <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr0">_Duration</a>; +00125 +00126 vector<sint32> durations; +00127 CAudioMixerUser *mixer = CAudioMixerUser::instance(); +00128 std::vector<TSoundInfo>::const_iterator first(<a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.begin()), last(<a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.end()); +00129 <span class="keywordflow">for</span> (; first != last; ++first) +00130 { +00131 <a class="code" href="a02246.html#NLSOUND_1_1CSounda0">CSound</a> *sound = mixer->getSoundId(first->SoundName); +00132 <span class="keywordflow">if</span> (sound != NULL) +00133 durations.push_back(sound->getDuration()); +00134 } +00135 <span class="keywordflow">if</span> (durations.empty()) +00136 <span class="keywordflow">return</span> 0; +00137 <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr0">_Duration</a> = *(std::max_element(durations.begin(), durations.end())); +00138 <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr1">_DurationValid</a> = <span class="keyword">true</span>; +00139 +00140 <span class="keywordflow">return</span> <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr0">_Duration</a>; +00141 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda6" doxytag="NLSOUND::CBackgroundSound::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, inherited]</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::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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_1CBackgroundSounda8" doxytag="NLSOUND::CBackgroundSound::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"> float NLSOUND::CBackgroundSound::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> [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 from <a class="el" href="a02246.html#NLSOUND_1_1CSounda8">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a05469.html#l00154">154</a> of file <a class="el" href="a05469.html">background_sound.cpp</a>. +<p> +References <a class="el" href="a06407.html#l00110">NLSOUND::CSound::getMaxDistance()</a>, and <a class="el" href="a05465.html#l01510">NLSOUND::CAudioMixerUser::getSoundId()</a>. +<p> +<div class="fragment"><pre>00155 { +00156 CAudioMixerUser *mixer = CAudioMixerUser::instance(); +00157 <span class="keywordtype">float</span> ret = 0.0f; +00158 std::vector<TSoundInfo>::const_iterator first(<a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.begin()), last(<a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.end()); +00159 <span class="keywordflow">for</span> (; first != last; ++first) +00160 { +00161 <a class="code" href="a02246.html#NLSOUND_1_1CSounda0">CSound</a> *sound = mixer->getSoundId(first->SoundName); +00162 <span class="keywordflow">if</span> (sound != 0) +00163 { +00164 ret = max(ret, sound->getMaxDistance()); +00165 } +00166 } +00167 <span class="keywordflow">if</span> (ret == 0) +00168 ret = 1; +00169 +00170 <span class="keywordflow">return</span> ret; +00171 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda9" doxytag="NLSOUND::CBackgroundSound::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, inherited]</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::CBackgroundSound::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, inherited]</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::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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_1CBackgroundSounda12" doxytag="NLSOUND::CBackgroundSound::getSounds" ></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 std::vector<<a class="el" href="a02247.html">TSoundInfo</a>>& NLSOUND::CBackgroundSound::getSounds </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> + +<p> +Definition at line <a class="el" href="a05470.html#l00095">95</a> of file <a class="el" href="a05470.html">background_sound.h</a>. +<p> +Referenced by <a class="el" href="a05473.html#l00119">NLSOUND::CBackgroundSource::play()</a>. +<p> +<div class="fragment"><pre>00095 { <span class="keywordflow">return</span> <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CBackgroundSounda13" doxytag="NLSOUND::CBackgroundSound::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"> <a class="el" href="a02246.html#NLSOUND_1_1CSoundw4">TSOUND_TYPE</a> NLSOUND::CBackgroundSound::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> [inline, 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> +Implements <a class="el" href="a02246.html#NLSOUND_1_1CSounda12">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a05470.html#l00054">54</a> of file <a class="el" href="a05470.html">background_sound.h</a>. +<p> +<div class="fragment"><pre>00054 { <span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw0">SOUND_BACKGROUND</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CBackgroundSounda14" doxytag="NLSOUND::CBackgroundSound::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"> void NLSOUND::CBackgroundSound::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> [virtual]</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) Used by the george sound plugin to check sound recursion (ie sound 'toto' use sound 'titi' witch also use sound 'toto' ...). +<p> + +<p> +Implements <a class="el" href="a02246.html#NLSOUND_1_1CSounda13">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a05469.html#l00143">143</a> of file <a class="el" href="a05469.html">background_sound.cpp</a>. +<p> +References <a class="el" href="a05465.html#l01510">NLSOUND::CAudioMixerUser::getSoundId()</a>. +<p> +<div class="fragment"><pre>00144 { +00145 CAudioMixerUser *mixer = CAudioMixerUser::instance(); +00146 std::vector<TSoundInfo>::const_iterator first(<a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.begin()), last(<a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.end()); +00147 <span class="keywordflow">for</span> (; first != last; ++first) +00148 { +00149 <a class="code" href="a02246.html#NLSOUND_1_1CSounda0">CSound</a> *sound = mixer->getSoundId(first->SoundName); +00150 subsounds.push_back(make_pair(CStringMapper::unmap(first->SoundName), sound)); +00151 } +00152 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda14" doxytag="NLSOUND::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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_1CBackgroundSounda16" doxytag="NLSOUND::CBackgroundSound::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::CBackgroundSound::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>formRoot</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> + +<p> +Reimplemented from <a class="el" href="a02246.html#NLSOUND_1_1CSounda15">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a05469.html#l00062">62</a> of file <a class="el" href="a05469.html">background_sound.cpp</a>. +<p> +References <a class="el" href="a05470.html#l00107">_DurationValid</a>, <a class="el" href="a05470.html#l00076">NLSOUND::CBackgroundSound::TSoundInfo::Filter</a>, <a class="el" href="a06594.html#l00097">NLSOUND::UAudioMixer::TBackgroundFlags::Flags</a>, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma1">NLGEORGES::UFormElm::getArrayNode()</a>, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma3">NLGEORGES::UFormElm::getArraySize()</a>, <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="a02551.html#NLGEORGES_1_1UFormElma44">NLGEORGES::UFormElm::getValueByName()</a>, <a class="el" href="a02551.html#NLGEORGES_1_1UFormElma45">NLGEORGES::UFormElm::isArray()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05470.html#l00075">NLSOUND::CBackgroundSound::TSoundInfo::SoundName</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00063 { +00064 <a class="code" href="a02551.html">NLGEORGES::UFormElm</a> *psoundType; +00065 std::string dfnName; +00066 +00067 <span class="comment">// some basic checking.</span> +00068 formRoot.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma17">getNodeByName</a>(&psoundType, <span class="stringliteral">".SoundType"</span>); +00069 <a class="code" href="a04199.html#a6">nlassert</a>(psoundType != NULL); +00070 psoundType-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma15">getDfnName</a>(dfnName); +00071 <a class="code" href="a04199.html#a6">nlassert</a>(dfnName == <span class="stringliteral">"background_sound.dfn"</span>); +00072 +00073 <span class="comment">// Call the base class</span> +00074 CSound::importForm(filename, formRoot); +00075 +00076 <span class="comment">// Read the array of sound with there respective filter.</span> +00077 { +00078 <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.clear(); +00079 +00080 <a class="code" href="a02551.html">NLGEORGES::UFormElm</a> *psoundList; +00081 +00082 formRoot.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma17">getNodeByName</a>(&psoundList, <span class="stringliteral">".SoundType.Sounds"</span>); +00083 +00084 <span class="keywordflow">if</span> (psoundList != 0 && psoundList-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma45">isArray</a>()) +00085 { +00086 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a587">size</a>; +00087 psoundList-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma3">getArraySize</a>(size); +00088 +00089 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a04223.html#a587">size</a>; ++i) +00090 { +00091 TSoundInfo sound; +00092 <a class="code" href="a02551.html">NLGEORGES::UFormElm</a> *psoundItem; +00093 +00094 psoundList-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma1">getArrayNode</a>(&psoundItem, i); +00095 +00096 <span class="keywordflow">if</span> (psoundItem != NULL) +00097 { +00098 <span class="comment">// Read the sound name.</span> +00099 std::string soundName; +00100 psoundItem-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(soundName, <span class="stringliteral">"Sound"</span>); +00101 sound.SoundName = CStringMapper::map(CFile::getFilenameWithoutExtension(soundName)); +00102 +00103 +00104 <span class="comment">// Read the environnement flag.</span> +00105 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> j=0; j<UAudioMixer::TBackgroundFlags::NB_BACKGROUND_FLAGS; j++) +00106 { +00107 <span class="keywordtype">char</span> tmp[200]; +00108 sprintf(tmp, <span class="stringliteral">"Filter%2.2u"</span>, j); +00109 psoundItem-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(sound.Filter.Flags[j], tmp); +00110 } +00111 } +00112 +00113 <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">_Sounds</a>.push_back(sound); +00114 } +00115 } +00116 } +00117 +00118 <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr1">_DurationValid</a> = <span class="keyword">false</span>; +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CBackgroundSounda17" doxytag="NLSOUND::CBackgroundSound::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"> bool NLSOUND::CBackgroundSound::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> [inline, 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> +Implements <a class="el" href="a02246.html#NLSOUND_1_1CSounda16">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a05470.html#l00060">60</a> of file <a class="el" href="a05470.html">background_sound.h</a>. +<p> +<div class="fragment"><pre>00060 { <span class="keywordflow">return</span> <span class="keyword">false</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda17" doxytag="NLSOUND::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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_1CBackgroundSounda19" doxytag="NLSOUND::CBackgroundSound::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::CBackgroundSound::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 from <a class="el" href="a02246.html#NLSOUND_1_1CSounda18">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a05469.html#l00052">52</a> of file <a class="el" href="a05469.html">background_sound.cpp</a>. +<p> +References <a class="el" href="a05470.html#l00107">_DurationValid</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00053 { +00054 CSound::serial(s); +00055 +00056 <a class="code" href="a04223.html#a626">s</a>.serialCont(_Sounds); +00057 +00058 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a626">s</a>.isReading()) +00059 <a class="code" href="a02245.html#NLSOUND_1_1CBackgroundSoundr1">_DurationValid</a> = <span class="keyword">false</span>; +00060 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda19" doxytag="NLSOUND::CBackgroundSound::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, inherited]</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">NLSOUND::CSound::_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>Field Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSoundp0" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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">NLSOUND::CSound::getConeInnerAngle()</a>, <a class="el" href="a06406.html#l00140">NLSOUND::CSound::importForm()</a>, and <a class="el" href="a06406.html#l00114">NLSOUND::CSound::serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp1" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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">NLSOUND::CSound::getConeOuterAngle()</a>, <a class="el" href="a06406.html#l00140">NLSOUND::CSound::importForm()</a>, and <a class="el" href="a06406.html#l00114">NLSOUND::CSound::serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp2" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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">NLSOUND::CSound::getConeOuterGain()</a>, <a class="el" href="a06406.html#l00140">NLSOUND::CSound::importForm()</a>, and <a class="el" href="a06406.html#l00114">NLSOUND::CSound::serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp3" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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_1CBackgroundSoundr0" doxytag="NLSOUND::CBackgroundSound::_Duration" ></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="a04558.html#a11">uint32</a> <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSoundr0">NLSOUND::CBackgroundSound::_Duration</a><code> [private]</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="a05470.html#l00105">105</a> of file <a class="el" href="a05470.html">background_sound.h</a>. +<p> +Referenced by <a class="el" href="a05469.html#l00121">getDuration()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CBackgroundSoundr1" doxytag="NLSOUND::CBackgroundSound::_DurationValid" ></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="a02245.html#NLSOUND_1_1CBackgroundSoundr1">NLSOUND::CBackgroundSound::_DurationValid</a><code> [private]</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="a05470.html#l00107">107</a> of file <a class="el" href="a05470.html">background_sound.h</a>. +<p> +Referenced by <a class="el" href="a05469.html#l00121">getDuration()</a>, <a class="el" href="a05469.html#l00062">importForm()</a>, and <a class="el" href="a05469.html#l00052">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp4" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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::CBackgroundSound::_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, inherited]</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">NLSOUND::CSound::getLooping()</a>, <a class="el" href="a06406.html#l00140">NLSOUND::CSound::importForm()</a>, <a class="el" href="a06406.html#l00114">NLSOUND::CSound::serial()</a>, and <a class="el" href="a06407.html#l00113">NLSOUND::CSound::setLooping()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp6" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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::CBackgroundSound::_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, inherited]</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">NLSOUND::CSound::operator<()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp8" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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::CBackgroundSound::_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, inherited]</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">NLSOUND::CSound::getPriority()</a>, <a class="el" href="a06406.html#l00140">NLSOUND::CSound::importForm()</a>, and <a class="el" href="a06406.html#l00114">NLSOUND::CSound::serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CBackgroundSoundr2" doxytag="NLSOUND::CBackgroundSound::_Sounds" ></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"> std::vector<<a class="el" href="a02247.html">TSoundInfo</a>> <a class="el" href="a02245.html#NLSOUND_1_1CBackgroundSoundr2">NLSOUND::CBackgroundSound::_Sounds</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The list of sound composing the background sound with there repective filter. +<p> + +<p> +Definition at line <a class="el" href="a05470.html#l00101">101</a> of file <a class="el" href="a05470.html">background_sound.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp10" doxytag="NLSOUND::CBackgroundSound::_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, inherited]</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">NLSOUND::CSound::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="a05470.html">background_sound.h</a><li><a class="el" href="a05469.html">background_sound.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:31:07 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> |