diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03394.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03394.html | 1944 |
1 files changed, 1944 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03394.html b/docs/doxygen/nel/a03394.html new file mode 100644 index 00000000..4e808564 --- /dev/null +++ b/docs/doxygen/nel/a03394.html @@ -0,0 +1,1944 @@ +<!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::CSimpleSound 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::CSimpleSound Class Reference</h1><code>#include <<a class="el" href="a06389.html">simple_sound.h</a>></code> +<p> +<p>Inheritance diagram for NLSOUND::CSimpleSound: +<p><center><img src="a03394.png" usemap="#NLSOUND::CSimpleSound_map" border="0" alt=""></center> +<map name="NLSOUND::CSimpleSound_map"> +<area href="a02246.html" alt="NLSOUND::CSound" shape="rect" coords="0,0,160,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A sound buffer and its 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="a06389.html#l00046">46</a> of file <a class="el" href="a06389.html">simple_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="a03394.html#NLSOUND_1_1CSimpleSounda0">CSimpleSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NLSOUND_1_1CSimpleSounda0"></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="a03394.html#NLSOUND_1_1CSimpleSounda1">getAlpha</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the alpha attenuation value. <a href="#NLSOUND_1_1CSimpleSounda1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02298.html">IBuffer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda2">getBuffer</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the buffer and the buffername if not null. <a href="#NLSOUND_1_1CSimpleSounda2"></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="a03394.html#NLSOUND_1_1CSimpleSounda3">getBuffername</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of the buffer (must be unique). <a href="#NLSOUND_1_1CSimpleSounda3"></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><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda8">getDuration</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the length of the sound in ms. <a href="#NLSOUND_1_1CSimpleSounda8"></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="a03394.html#NLSOUND_1_1CSimpleSounda9">getFilename</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the filename. <a href="#NLSOUND_1_1CSimpleSounda9"></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>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda13">getMinDistance</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the min distance (if detailed()). <a href="#NLSOUND_1_1CSimpleSounda13"></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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSounda17">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">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_1CSimpleSounda17"></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="a03394.html#NLSOUND_1_1CSimpleSounda19">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_1CSimpleSounda19"></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="a03394.html#NLSOUND_1_1CSimpleSounda20">isDetailed</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if distance and cone are meaningful. <a href="#NLSOUND_1_1CSimpleSounda20"></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="a03394.html#NLSOUND_1_1CSimpleSounda22">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="a03394.html#NLSOUND_1_1CSimpleSounda23">setBuffer</a> (<a class="el" href="a02298.html">IBuffer</a> *<a class="el" href="a04223.html#a589">buffer</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Change the buffer. <a href="#NLSOUND_1_1CSimpleSounda23"></a><br><br></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="a03394.html#NLSOUND_1_1CSimpleSounda25">~CSimpleSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#NLSOUND_1_1CSimpleSounda25"></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 Member Functions</h2></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="a03394.html#NLSOUND_1_1CSimpleSoundd0">getSoundType</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of the sound. <a href="#NLSOUND_1_1CSimpleSoundd0"></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>double </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr0">_Alpha</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02298.html">IBuffer</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</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="a03394.html#NLSOUND_1_1CSimpleSoundr2">_Buffername</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr3">_Detailed</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="a03394.html#NLSOUND_1_1CSimpleSoundr4">_Filename</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr5">_MinDist</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr6">_NeedContext</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr7">_Registered</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSoundw4" doxytag="NLSOUND::CSimpleSound::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_1CSimpleSounda0" doxytag="NLSOUND::CSimpleSound::CSimpleSound" ></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::CSimpleSound::CSimpleSound </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="a06388.html#l00045">45</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +<div class="fragment"><pre>00045 : +00046 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a>(NULL), +00047 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr5">_MinDist</a>(1.0f), +00048 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr3">_Detailed</a>(<span class="keyword">false</span>), +00049 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr7">_Registered</a>(<span class="keyword">false</span>), +00050 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr6">_NeedContext</a>(<span class="keyword">false</span>) +00051 { +00052 } + +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSounda25" doxytag="NLSOUND::CSimpleSound::~CSimpleSound" ></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::CSimpleSound::~<a class="el" href="a03394.html">CSimpleSound</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="a06388.html#l00058">58</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +<div class="fragment"><pre>00059 { +00060 <span class="keywordflow">if</span> (<a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a> != NULL) +00061 CSoundBank::instance()->unregisterBufferAssoc(<span class="keyword">this</span>, _Buffer); +00062 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLSOUND_1_1CSounde0" doxytag="NLSOUND::CSimpleSound::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> <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSounda0">CSimpleSound</a>(); +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_1CSimpleSounda1" doxytag="NLSOUND::CSimpleSound::getAlpha" ></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::CSimpleSound::getAlpha </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 alpha attenuation value. +<p> + +<p> +Definition at line <a class="el" href="a06389.html#l00069">69</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +Referenced by <a class="el" href="a06390.html#l00045">NLSOUND::CSimpleSource::CSimpleSource()</a>. +<p> +<div class="fragment"><pre>00069 { <span class="keywordflow">return</span> float(_Alpha); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSounda2" doxytag="NLSOUND::CSimpleSound::getBuffer" ></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="a02298.html">IBuffer</a> * NLSOUND::CSimpleSound::getBuffer </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> +Return the buffer and the buffername if not null. +<p> + +<p> +Definition at line <a class="el" href="a06388.html#l00093">93</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +References <a class="el" href="a06389.html#l00110">_Buffername</a>, and <a class="el" href="a06389.html#l00093">_Registered</a>. +<p> +Referenced by <a class="el" href="a05465.html#l01576">NLSOUND::CAudioMixerUser::createSource()</a>, <a class="el" href="a06390.html#l00082">NLSOUND::CSimpleSource::getBuffer()</a>, <a class="el" href="a06388.html#l00109">getDuration()</a>, <a class="el" href="a06390.html#l00126">NLSOUND::CSimpleSource::play()</a>, and <a class="el" href="a06390.html#l00290">NLSOUND::CSimpleSource::setDirection()</a>. +<p> +<div class="fragment"><pre>00094 { +00095 <span class="keywordflow">if</span> (<a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a> == 0) +00096 { +00097 <span class="comment">// try to find the sample buffer in the sample bank.</span> +00098 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a> = CSampleBank::get(_Buffername); +00099 CSoundBank::instance()->registerBufferAssoc(<span class="keyword">this</span>, _Buffer); +00100 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr7">_Registered</a> = <span class="keyword">true</span>; +00101 } +00102 <span class="keywordflow">return</span> <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a>; +00103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSounda3" doxytag="NLSOUND::CSimpleSound::getBuffername" ></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::CSimpleSound::getBuffername </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 name of the buffer (must be unique). +<p> + +<p> +Definition at line <a class="el" href="a06389.html#l00075">75</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +References <a class="el" href="a06389.html#l00110">_Buffername</a>. +<p> +Referenced by <a class="el" href="a05465.html#l01576">NLSOUND::CAudioMixerUser::createSource()</a>. +<p> +<div class="fragment"><pre>00075 { <span class="keywordflow">return</span> <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr2">_Buffername</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda1" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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::CSimpleSound::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::CSimpleSound::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_1CSimpleSounda8" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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="a06388.html#l00109">109</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a06388.html#l00093">getBuffer()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06390.html#l00126">NLSOUND::CSimpleSource::play()</a>. +<p> +<div class="fragment"><pre>00110 { +00111 IBuffer* <a class="code" href="a04223.html#a589">buffer</a> = <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSounda2">getBuffer</a>(); +00112 +00113 <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a589">buffer</a> == NULL ) +00114 { +00115 <span class="keywordflow">return</span> 0; +00116 } +00117 <span class="keywordflow">else</span> +00118 { +00119 <span class="keywordflow">return</span> (<a class="code" href="a04558.html#a11">uint32</a>)(<a class="code" href="a04223.html#a589">buffer</a>->getDuration()); +00120 } +00121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSounda9" doxytag="NLSOUND::CSimpleSound::getFilename" ></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::CSimpleSound::getFilename </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 filename. +<p> + +<p> +Definition at line <a class="el" href="a06389.html#l00073">73</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +<div class="fragment"><pre>00073 { <span class="keywordflow">return</span> <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr4">_Filename</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda6" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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_1CSounda8" doxytag="NLSOUND::CSimpleSound::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, inherited]</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_1CSimpleSounda13" doxytag="NLSOUND::CSimpleSound::getMinDistance" ></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::CSimpleSound::getMinDistance </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 min distance (if detailed()). +<p> + +<p> +Definition at line <a class="el" href="a06389.html#l00067">67</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +References <a class="el" href="a06389.html#l00100">_MinDist</a>. +<p> +Referenced by <a class="el" href="a05465.html#l01152">NLSOUND::CAudioMixerUser::getFreeTrack()</a>, and <a class="el" href="a06390.html#l00126">NLSOUND::CSimpleSource::play()</a>. +<p> +<div class="fragment"><pre>00067 { <span class="keywordflow">return</span> <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr5">_MinDist</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda9" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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::CSimpleSound::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_1CSimpleSoundd0" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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, private, 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="a06389.html#l00088">88</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +<div class="fragment"><pre>00088 {<span class="keywordflow">return</span> <a class="code" href="a02246.html#NLSOUND_1_1CSoundw4NLSOUND_1_1CSoundw3">SOUND_SIMPLE</a>;}; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSounda17" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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> +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="a06388.html#l00082">82</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +References <a class="el" href="a06389.html#l00110">_Buffername</a>. +<p> +<div class="fragment"><pre>00083 { +00084 <span class="comment">// A little hack, we use the reference vector to tag unavailable sample.</span> +00085 <span class="keywordflow">if</span> (!(<a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr2">_Buffername</a> == CStringMapper::emptyId()) && const_cast<CSimpleSound*>(<span class="keyword">this</span>)->getBuffer() == 0) +00086 subsounds.push_back(pair<string, CSound*>(CStringMapper::unmap(_Buffername)+<span class="stringliteral">" (sample)"</span>, 0)); +00087 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda14" doxytag="NLSOUND::CSimpleSound::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_1CSimpleSounda19" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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> +Allow to load sound files when corresponding wave file is missing (default: false, i.e. an input serial or a load throws an exception <a class="el" href="a03823.html">ESoundFileNotFound</a>) +<p> +Reimplemented from <a class="el" href="a02246.html#NLSOUND_1_1CSounda15">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a06388.html#l00155">155</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +References <a class="el" href="a06389.html#l00110">_Buffername</a>, <a class="el" href="a06389.html#l00100">_MinDist</a>, <a class="el" href="a06389.html#l00104">_NeedContext</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="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06388.html#l00064">setBuffer()</a>. +<p> +<div class="fragment"><pre>00156 { +00157 <a class="code" href="a02551.html">NLGEORGES::UFormElm</a> *psoundType; +00158 std::string dfnName; +00159 +00160 <span class="comment">// some basic checking.</span> +00161 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma17">getNodeByName</a>(&psoundType, <span class="stringliteral">".SoundType"</span>); +00162 <a class="code" href="a04199.html#a6">nlassert</a>(psoundType != NULL); +00163 psoundType-><a class="code" href="a02551.html#NLGEORGES_1_1UFormElma15">getDfnName</a>(dfnName); +00164 <a class="code" href="a04199.html#a6">nlassert</a>(dfnName == <span class="stringliteral">"simple_sound.dfn"</span>); +00165 +00166 <span class="comment">// Call the base class</span> +00167 CSound::importForm(filename, root); +00168 +00169 <span class="comment">// Name</span> +00170 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr4">_Filename</a> = CStringMapper::map(filename); +00171 +00172 <span class="comment">// Buffername</span> +00173 std::string bufferName; +00174 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(bufferName, <span class="stringliteral">".SoundType.Filename"</span>); +00175 bufferName = CFile::getFilenameWithoutExtension(bufferName); +00176 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr2">_Buffername</a> = CStringMapper::map(bufferName); +00177 +00178 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSounda23">setBuffer</a>(NULL); +00179 +00180 <span class="comment">// contain % so it need a context to play</span> +00181 <span class="keywordflow">if</span> (bufferName.find (<span class="stringliteral">"%"</span>) != string::npos) +00182 { +00183 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr6">_NeedContext</a> = <span class="keyword">true</span>; +00184 } +00185 +00186 <span class="comment">// MaxDistance</span> +00187 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(_MaxDist, <span class="stringliteral">".SoundType.MaxDistance"</span>); +00188 +00189 <span class="comment">// MinDistance</span> +00190 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(_MinDist, <span class="stringliteral">".SoundType.MinDistance"</span>); +00191 +00192 <span class="comment">// Alpha</span> +00193 root.<a class="code" href="a02551.html#NLGEORGES_1_1UFormElma44">getValueByName</a>(_Alpha, <span class="stringliteral">".SoundType.Alpha"</span>); +00194 +00195 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSounda20" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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 distance and cone are meaningful. +<p> + +<p> +Implements <a class="el" href="a02246.html#NLSOUND_1_1CSounda16">NLSOUND::CSound</a>. +<p> +Definition at line <a class="el" href="a06389.html#l00065">65</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +References <a class="el" href="a06389.html#l00099">_Detailed</a>. +<p> +<div class="fragment"><pre>00065 { <span class="keywordflow">return</span> <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr3">_Detailed</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda17" doxytag="NLSOUND::CSimpleSound::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_1CSimpleSounda22" doxytag="NLSOUND::CSimpleSound::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::CSimpleSound::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="a06388.html#l00124">124</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +References <a class="el" href="a06389.html#l00110">_Buffername</a>, <a class="el" href="a06389.html#l00100">_MinDist</a>, <a class="el" href="a06389.html#l00104">_NeedContext</a>, <a class="el" href="a05646.html#l00977">s</a>, and <a class="el" href="a06388.html#l00064">setBuffer()</a>. +<p> +<div class="fragment"><pre>00125 { +00126 std::string bufferName; +00127 CSound::serial(s); +00128 +00129 <a class="code" href="a04223.html#a626">s</a>.serial(_MinDist); +00130 <a class="code" href="a04223.html#a626">s</a>.serial(_Alpha); +00131 +00132 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a626">s</a>.isReading()) +00133 { +00134 <a class="code" href="a04223.html#a626">s</a>.serial(bufferName); +00135 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr2">_Buffername</a> = CStringMapper::map(bufferName); +00136 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSounda23">setBuffer</a>(NULL); +00137 +00138 <span class="comment">// contain % so it need a context to play</span> +00139 <span class="keywordflow">if</span> (bufferName.find (<span class="stringliteral">"%"</span>) != string::npos) +00140 { +00141 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr6">_NeedContext</a> = <span class="keyword">true</span>; +00142 } +00143 } +00144 <span class="keywordflow">else</span> +00145 { +00146 bufferName = CStringMapper::unmap(_Buffername); +00147 <a class="code" href="a04223.html#a626">s</a>.serial(bufferName); +00148 } +00149 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSounda23" doxytag="NLSOUND::CSimpleSound::setBuffer" ></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::CSimpleSound::setBuffer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02298.html">IBuffer</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>buffer</em> </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> +Change the buffer. +<p> + +<p> +Definition at line <a class="el" href="a06388.html#l00064">64</a> of file <a class="el" href="a06388.html">simple_sound.cpp</a>. +<p> +References <a class="el" href="a06389.html#l00093">_Registered</a>, <a class="el" href="a05646.html#l00649">buffer</a>, and <a class="el" href="a02298.html#NLSOUND_1_1IBuffera4">NLSOUND::IBuffer::getName()</a>. +<p> +Referenced by <a class="el" href="a06414.html#l00089">NLSOUND::CSoundBank::bufferLoaded()</a>, <a class="el" href="a06414.html#l00070">NLSOUND::CSoundBank::bufferUnloaded()</a>, <a class="el" href="a06388.html#l00155">importForm()</a>, and <a class="el" href="a06388.html#l00124">serial()</a>. +<p> +<div class="fragment"><pre>00065 { +00066 <span class="keywordflow">if</span> (<a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a> != NULL && <a class="code" href="a04223.html#a589">buffer</a> != NULL && <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a>->getName() != <a class="code" href="a04223.html#a589">buffer</a>->getName()) +00067 { +00068 <span class="comment">// if buffer name change, update the registration/</span> +00069 CSoundBank::instance()->unregisterBufferAssoc(<span class="keyword">this</span>, _Buffer); +00070 CSoundBank::instance()->registerBufferAssoc(<span class="keyword">this</span>, buffer); +00071 } +00072 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!<a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr7">_Registered</a> && <a class="code" href="a04223.html#a589">buffer</a> != NULL) +00073 { +00074 <span class="comment">// creater initial registration.</span> +00075 CSoundBank::instance()->registerBufferAssoc(<span class="keyword">this</span>, buffer); +00076 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr7">_Registered</a> = <span class="keyword">true</span>; +00077 } +00078 <a class="code" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">_Buffer</a> = <a class="code" href="a04223.html#a589">buffer</a>; +00079 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSounda19" doxytag="NLSOUND::CSimpleSound::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_1CSimpleSoundr0" doxytag="NLSOUND::CSimpleSound::_Alpha" ></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"> double <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr0">NLSOUND::CSimpleSound::_Alpha</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="a06389.html#l00101">101</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSoundr1" doxytag="NLSOUND::CSimpleSound::_Buffer" ></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="a02298.html">IBuffer</a>* <a class="el" href="a03394.html#NLSOUND_1_1CSimpleSoundr1">NLSOUND::CSimpleSound::_Buffer</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="a06389.html#l00096">96</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSimpleSoundr2" doxytag="NLSOUND::CSimpleSound::_Buffername" ></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="a03394.html#NLSOUND_1_1CSimpleSoundr2">NLSOUND::CSimpleSound::_Buffername</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="a06389.html#l00110">110</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +Referenced by <a class="el" href="a06388.html#l00093">getBuffer()</a>, <a class="el" href="a06389.html#l00075">getBuffername()</a>, <a class="el" href="a06388.html#l00082">getSubSoundList()</a>, <a class="el" href="a06388.html#l00155">importForm()</a>, and <a class="el" href="a06388.html#l00124">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp0" doxytag="NLSOUND::CSimpleSound::_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::CSimpleSound::_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::CSimpleSound::_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_1CSimpleSoundr3" doxytag="NLSOUND::CSimpleSound::_Detailed" ></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="a03394.html#NLSOUND_1_1CSimpleSoundr3">NLSOUND::CSimpleSound::_Detailed</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="a06389.html#l00099">99</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +Referenced by <a class="el" href="a06389.html#l00065">isDetailed()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp3" doxytag="NLSOUND::CSimpleSound::_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_1CSimpleSoundr4" doxytag="NLSOUND::CSimpleSound::_Filename" ></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="a03394.html#NLSOUND_1_1CSimpleSoundr4">NLSOUND::CSimpleSound::_Filename</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="a06389.html#l00109">109</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp4" doxytag="NLSOUND::CSimpleSound::_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::CSimpleSound::_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::CSimpleSound::_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_1CSimpleSoundr5" doxytag="NLSOUND::CSimpleSound::_MinDist" ></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="a03394.html#NLSOUND_1_1CSimpleSoundr5">NLSOUND::CSimpleSound::_MinDist</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="a06389.html#l00100">100</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +Referenced by <a class="el" href="a06389.html#l00067">getMinDistance()</a>, <a class="el" href="a06388.html#l00155">importForm()</a>, and <a class="el" href="a06388.html#l00124">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp7" doxytag="NLSOUND::CSimpleSound::_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_1CSimpleSoundr6" doxytag="NLSOUND::CSimpleSound::_NeedContext" ></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="a03394.html#NLSOUND_1_1CSimpleSoundr6">NLSOUND::CSimpleSound::_NeedContext</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="a06389.html#l00104">104</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +Referenced by <a class="el" href="a06388.html#l00155">importForm()</a>, and <a class="el" href="a06388.html#l00124">serial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp8" doxytag="NLSOUND::CSimpleSound::_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::CSimpleSound::_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_1CSimpleSoundr7" doxytag="NLSOUND::CSimpleSound::_Registered" ></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="a03394.html#NLSOUND_1_1CSimpleSoundr7">NLSOUND::CSimpleSound::_Registered</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="a06389.html#l00093">93</a> of file <a class="el" href="a06389.html">simple_sound.h</a>. +<p> +Referenced by <a class="el" href="a06388.html#l00093">getBuffer()</a>, and <a class="el" href="a06388.html#l00064">setBuffer()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLSOUND_1_1CSoundp10" doxytag="NLSOUND::CSimpleSound::_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="a06389.html">simple_sound.h</a><li><a class="el" href="a06388.html">simple_sound.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:40:38 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> |