aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLSOUND_1_1CComplexSource.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/classNLSOUND_1_1CComplexSource.html1074
1 files changed, 1074 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLSOUND_1_1CComplexSource.html b/docs/doxygen/nel/classNLSOUND_1_1CComplexSource.html
new file mode 100644
index 00000000..ede4d540
--- /dev/null
+++ b/docs/doxygen/nel/classNLSOUND_1_1CComplexSource.html
@@ -0,0 +1,1074 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLSOUND::CComplexSource Class Reference</h1>Implemetation class for Complex source.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="complex__source_8h-source.html">complex_source.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLSOUND::CComplexSource:
+<p><center><img src="classNLSOUND_1_1CComplexSource.gif" usemap="#NLSOUND::CComplexSource_map" border="0"></center>
+<map name="NLSOUND::CComplexSource_map">
+<area href="classNLSOUND_1_1CSourceCommon.html" alt="NLSOUND::CSourceCommon" shape="rect" coords="0,56,258,80">
+<area href="classNLSOUND_1_1CAudioMixerUser_1_1IMixerEvent.html" alt="NLSOUND::CAudioMixerUser::IMixerEvent" shape="rect" coords="268,56,526,80">
+<area href="classNLSOUND_1_1CAudioMixerUser_1_1IMixerUpdate.html" alt="NLSOUND::CAudioMixerUser::IMixerUpdate" shape="rect" coords="536,56,794,80">
+<area href="classNLSOUND_1_1USource.html" alt="NLSOUND::USource" shape="rect" coords="0,0,258,24">
+</map>
+<a href="classNLSOUND_1_1CComplexSource-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a0">CComplexSource</a> (<a class="el" href="classNLSOUND_1_1CComplexSound.html">CComplexSound</a> *soundPattern=NULL, bool spawn=false, <a class="el" href="namespaceNLSOUND.html#a9">TSpawnEndCallback</a> cb=0, void *cbUserParam=0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a1">~CComplexSource</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a2">setSound</a> (<a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>, <a class="el" href="structNLSOUND_1_1CSoundContext.html">CSoundContext</a> *context=0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Change the sound binded to the source.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a3">getSound</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return the sound binded to the source (or NULL if there is no sound).</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a4">setPos</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;pos)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the position vector (default: (0,0,0)).</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a5">setVelocity</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;vel)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)).</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a6">setDirection</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;dir)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the direction vector (3D mode only, ignored in stereo mode) (default: (0,0,0) as non-directional).</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a7">setGain</a> (float gain)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the gain (volume value inside [0 , 1]).</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#a8">setRelativeGain</a> (float gain)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the gain amount (value inside [0, 1]) to map between 0 and the nominal gain (which is getSource()-&gt;<a class="el" href="classNLSOUND_1_1CSourceCommon.html#a22">getGain</a>()).</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Playback control</div></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#z964_0">play</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Play.</em> <a href="#z964_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#z964_1">stop</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Stop playing.</em> <a href="#z964_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#z964_2">isPlaying</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get playing state. Return false even if the source has stopped on its own.</em> <a href="#z964_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#z964_3">getTime</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of milliseconds the source has been playing.</em> <a href="#z964_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1CSourceCommon.html#s3">TSOURCE_TYPE</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#c0">getType</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the source relative mode.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#c1">onUpdate</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Mixer update implementation.</em> <a href="#c1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#c2">onEvent</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Mixer event implementation.</em> <a href="#c2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1USource.html">USource</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o0">_Source1</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1USource.html">USource</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o1">_Source2</a></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNLSOUND_1_1USource.html">USource</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o2">_AllSources</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o3">_StartTime1</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o4">_StartTime2</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o5">_TickPerSecond</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o6">_FadeLength</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o7">_FadeFactor</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o8">_SoundSeqIndex</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o9">_DelaySeqIndex</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o10">_LastSparseEvent</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1CComplexSound.html">CComplexSound</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLSOUND_1_1CComplexSource.html#o11">_PatternSound</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The reference Sound.</em> <a href="#o11">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Implemetation class for Complex source.
+<p>
+Complex source are source that use a CPatternSound object.
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00041">41</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLSOUND::CComplexSource::CComplexSource"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLSOUND::CComplexSource::CComplexSource </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLSOUND_1_1CComplexSound.html">CComplexSound</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>soundPattern</em> = NULL, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>spawn</em> = false, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="namespaceNLSOUND.html#a9">TSpawnEndCallback</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>cb</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>cbUserParam</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00037">37</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="source__common_8h-source.html#l00160">NLSOUND::CSourceCommon::_Gain</a>, <a class="el" href="source__common_8h-source.html#l00155">NLSOUND::CSourceCommon::_Looping</a>, <a class="el" href="complex__source_8h-source.html#l00148">_PatternSound</a>, <a class="el" href="source__common_8h-source.html#l00161">NLSOUND::CSourceCommon::_Pitch</a>, <a class="el" href="source__common_8h-source.html#l00153">NLSOUND::CSourceCommon::_Priority</a>, <a class="el" href="complex__source_8h-source.html#l00137">_TickPerSecond</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="u__source_8h-source.html#l00076">NLSOUND::TSpawnEndCallback</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLSOUND::CComplexSource::~CComplexSource"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLSOUND::CComplexSource::~CComplexSource </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Destructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00053">53</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a3" doxytag="NLSOUND::CComplexSource::getSound"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a> NLSOUND::CComplexSource::getSound </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the sound binded to the source (or NULL if there is no sound).
+<p>
+
+<p>
+Implements <a class="el" href="classNLSOUND_1_1USource.html#a0">NLSOUND::USource</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00073">73</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00148">_PatternSound</a>, and <a class="el" href="u__source_8h-source.html#l00069">NLSOUND::TSoundId</a>. </td>
+ </tr>
+</table>
+<a name="z964_3" doxytag="NLSOUND::CComplexSource::getTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CComplexSource::getTime </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the number of milliseconds the source has been playing.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a28">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00365">365</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="source__common_8h-source.html#l00154">NLSOUND::CSourceCommon::_Playing</a>, <a class="el" href="source__common_8h-source.html#l00168">NLSOUND::CSourceCommon::_PlayStart</a>, <a class="el" href="time__nl_8cpp-source.html#l00055">NLMISC::CTime::getLocalTime</a>, <a class="el" href="time__nl_8h-source.html#l00047">NLMISC::TTime</a>, and <a class="el" href="memory__common_8h-source.html#l00100">uint32</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NLSOUND::CComplexSource::getType"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLSOUND_1_1CSourceCommon.html#s3">TSOURCE_TYPE</a> NLSOUND::CComplexSource::getType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the source relative mode.
+<p>
+1.0f equals identity, each reduction of 50% equals a pitch shift of one octave. 0 is not a legal value.
+<p>
+Implements <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a2">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00119">119</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+References <a class="el" href="classNLSOUND_1_1CSourceCommon.html#s3s1">NLSOUND::CSourceCommon::SOURCE_COMPLEX</a>, and <a class="el" href="source__common_8h-source.html#l00040">NLSOUND::CSourceCommon::TSOURCE_TYPE</a>. </td>
+ </tr>
+</table>
+<a name="z964_2" doxytag="NLSOUND::CComplexSource::isPlaying"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLSOUND::CComplexSource::isPlaying </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get playing state. Return false even if the source has stopped on its own.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a9">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00091">91</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="source__common_8h-source.html#l00154">NLSOUND::CSourceCommon::_Playing</a>. </td>
+ </tr>
+</table>
+<a name="c2" doxytag="NLSOUND::CComplexSource::onEvent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::onEvent </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Mixer event implementation.
+<p>
+
+<p>
+Implements <a class="el" href="classNLSOUND_1_1CAudioMixerUser_1_1IMixerEvent.html#a0">NLSOUND::CAudioMixerUser::IMixerEvent</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00493">493</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00143">_DelaySeqIndex</a>, <a class="el" href="source__common_8h-source.html#l00160">NLSOUND::CSourceCommon::_Gain</a>, <a class="el" href="complex__source_8h-source.html#l00145">_LastSparseEvent</a>, <a class="el" href="source__common_8h-source.html#l00155">NLSOUND::CSourceCommon::_Looping</a>, <a class="el" href="complex__source_8h-source.html#l00148">_PatternSound</a>, <a class="el" href="source__common_8h-source.html#l00154">NLSOUND::CSourceCommon::_Playing</a>, <a class="el" href="source__common_8h-source.html#l00157">NLSOUND::CSourceCommon::_Position</a>, <a class="el" href="complex__source_8h-source.html#l00142">_SoundSeqIndex</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>, <a class="el" href="complex__source_8h-source.html#l00134">_StartTime1</a>, <a class="el" href="complex__source_8h-source.html#l00135">_StartTime2</a>, <a class="el" href="complex__source_8h-source.html#l00137">_TickPerSecond</a>, <a class="el" href="time__nl_8cpp-source.html#l00055">NLMISC::CTime::getLocalTime</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="complex__source_8cpp-source.html#l00213">stop</a>, and <a class="el" href="memory__common_8h-source.html#l00102">uint64</a>. </td>
+ </tr>
+</table>
+<a name="c1" doxytag="NLSOUND::CComplexSource::onUpdate"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::onUpdate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Mixer update implementation.
+<p>
+
+<p>
+Implements <a class="el" href="classNLSOUND_1_1CAudioMixerUser_1_1IMixerUpdate.html#a0">NLSOUND::CAudioMixerUser::IMixerUpdate</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00380">380</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00140">_FadeFactor</a>, <a class="el" href="complex__source_8h-source.html#l00138">_FadeLength</a>, <a class="el" href="source__common_8h-source.html#l00160">NLSOUND::CSourceCommon::_Gain</a>, <a class="el" href="complex__source_8h-source.html#l00148">_PatternSound</a>, <a class="el" href="source__common_8h-source.html#l00154">NLSOUND::CSourceCommon::_Playing</a>, <a class="el" href="complex__source_8h-source.html#l00142">_SoundSeqIndex</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>, <a class="el" href="complex__source_8h-source.html#l00134">_StartTime1</a>, <a class="el" href="complex__source_8h-source.html#l00135">_StartTime2</a>, <a class="el" href="complex__source_8h-source.html#l00137">_TickPerSecond</a>, <a class="el" href="time__nl_8cpp-source.html#l00055">NLMISC::CTime::getLocalTime</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="time__nl_8h-source.html#l00047">NLMISC::TTime</a>, and <a class="el" href="memory__common_8h-source.html#l00100">uint32</a>. </td>
+ </tr>
+</table>
+<a name="z964_0" doxytag="NLSOUND::CComplexSource::play"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::play </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Play.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a7">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00096">96</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>, <a class="el" href="complex__source_8h-source.html#l00143">_DelaySeqIndex</a>, <a class="el" href="complex__source_8h-source.html#l00138">_FadeLength</a>, <a class="el" href="source__common_8h-source.html#l00160">NLSOUND::CSourceCommon::_Gain</a>, <a class="el" href="complex__source_8h-source.html#l00145">_LastSparseEvent</a>, <a class="el" href="complex__source_8h-source.html#l00148">_PatternSound</a>, <a class="el" href="source__common_8h-source.html#l00157">NLSOUND::CSourceCommon::_Position</a>, <a class="el" href="complex__source_8h-source.html#l00142">_SoundSeqIndex</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>, <a class="el" href="complex__source_8h-source.html#l00134">_StartTime1</a>, <a class="el" href="complex__source_8h-source.html#l00135">_StartTime2</a>, <a class="el" href="complex__source_8h-source.html#l00137">_TickPerSecond</a>, <a class="el" href="time__nl_8cpp-source.html#l00055">NLMISC::CTime::getLocalTime</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="memory__common_8h-source.html#l00100">uint32</a>, <a class="el" href="memory__common_8h-source.html#l00102">uint64</a>, and <a class="el" href="u__source_8h-source.html#l00185">NLSOUND::USource::USource</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLSOUND::CComplexSource::setDirection"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::setDirection </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>dir</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the direction vector (3D mode only, ignored in stereo mode) (default: (0,0,0) as non-directional).
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a13">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00294">294</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, and <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLSOUND::CComplexSource::setGain"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::setGain </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>gain</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the gain (volume value inside [0 , 1]).
+<p>
+(default: 1) 0.0 -&gt; silence 0.5 -&gt; -6dB 1.0 -&gt; no attenuation values &gt; 1 (amplification) not supported by most drivers
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a14">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00314">314</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>, <a class="el" href="source__common_8h-source.html#l00160">NLSOUND::CSourceCommon::_Gain</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, and <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLSOUND::CComplexSource::setPos"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::setPos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>pos</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the position vector (default: (0,0,0)).
+<p>
+3D mode -&gt; 3D position st mode -&gt; x is the pan value (from left (-1) to right (1)), set y and z to 0
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a10">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00259">259</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, and <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLSOUND::CComplexSource::setRelativeGain"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::setRelativeGain </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>gain</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the gain amount (value inside [0, 1]) to map between 0 and the nominal gain (which is getSource()-&gt;<a class="el" href="classNLSOUND_1_1CSourceCommon.html#a22">getGain</a>()).
+<p>
+Does nothing if getSource() is null.
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a15">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00330">330</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>, <a class="el" href="source__common_8h-source.html#l00160">NLSOUND::CSourceCommon::_Gain</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, and <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLSOUND::CComplexSource::setSound"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::setSound </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>id</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="structNLSOUND_1_1CSoundContext.html">CSoundContext</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>context</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Change the sound binded to the source.
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00069">69</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, and <a class="el" href="u__source_8h-source.html#l00069">NLSOUND::TSoundId</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLSOUND::CComplexSource::setVelocity"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::setVelocity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>vel</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)).
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a12">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00275">275</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, and <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>. </td>
+ </tr>
+</table>
+<a name="z964_1" doxytag="NLSOUND::CComplexSource::stop"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CComplexSource::stop </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Stop playing.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLSOUND_1_1CSourceCommon.html#a8">NLSOUND::CSourceCommon</a>.
+<p>
+Definition at line <a class="el" href="complex__source_8cpp-source.html#l00213">213</a> of file <a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a>.
+<p>
+References <a class="el" href="complex__source_8h-source.html#l00129">_AllSources</a>, <a class="el" href="complex__source_8h-source.html#l00148">_PatternSound</a>, <a class="el" href="complex__source_8h-source.html#l00126">_Source1</a>, and <a class="el" href="complex__source_8h-source.html#l00127">_Source2</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o2" doxytag="NLSOUND::CComplexSource::_AllSources"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="classNLSOUND_1_1USource.html">USource</a> *&gt; NLSOUND::CComplexSource::_AllSources<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00129">129</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>, <a class="el" href="complex__source_8cpp-source.html#l00294">setDirection</a>, <a class="el" href="complex__source_8cpp-source.html#l00314">setGain</a>, <a class="el" href="complex__source_8cpp-source.html#l00259">setPos</a>, <a class="el" href="complex__source_8cpp-source.html#l00330">setRelativeGain</a>, <a class="el" href="complex__source_8cpp-source.html#l00275">setVelocity</a>, <a class="el" href="complex__source_8cpp-source.html#l00213">stop</a>, and <a class="el" href="complex__source_8cpp-source.html#l00053">~CComplexSource</a>. </td>
+ </tr>
+</table>
+<a name="o9" doxytag="NLSOUND::CComplexSource::_DelaySeqIndex"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLSOUND::CComplexSource::_DelaySeqIndex<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00143">143</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, and <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>. </td>
+ </tr>
+</table>
+<a name="o7" doxytag="NLSOUND::CComplexSource::_FadeFactor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLSOUND::CComplexSource::_FadeFactor<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00140">140</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>. </td>
+ </tr>
+</table>
+<a name="o6" doxytag="NLSOUND::CComplexSource::_FadeLength"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CComplexSource::_FadeLength<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00138">138</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, and <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>. </td>
+ </tr>
+</table>
+<a name="o10" doxytag="NLSOUND::CComplexSource::_LastSparseEvent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLSOUND::CComplexSource::_LastSparseEvent<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00145">145</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, and <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>. </td>
+ </tr>
+</table>
+<a name="o11" doxytag="NLSOUND::CComplexSource::_PatternSound"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLSOUND_1_1CComplexSound.html">CComplexSound</a>* NLSOUND::CComplexSource::_PatternSound<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The reference Sound.
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00148">148</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00037">CComplexSource</a>, <a class="el" href="complex__source_8cpp-source.html#l00073">getSound</a>, <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>, and <a class="el" href="complex__source_8cpp-source.html#l00213">stop</a>. </td>
+ </tr>
+</table>
+<a name="o8" doxytag="NLSOUND::CComplexSource::_SoundSeqIndex"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLSOUND::CComplexSource::_SoundSeqIndex<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00142">142</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, and <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NLSOUND::CComplexSource::_Source1"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLSOUND_1_1USource.html">USource</a>* NLSOUND::CComplexSource::_Source1<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00126">126</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>, <a class="el" href="complex__source_8cpp-source.html#l00294">setDirection</a>, <a class="el" href="complex__source_8cpp-source.html#l00314">setGain</a>, <a class="el" href="complex__source_8cpp-source.html#l00259">setPos</a>, <a class="el" href="complex__source_8cpp-source.html#l00330">setRelativeGain</a>, <a class="el" href="complex__source_8cpp-source.html#l00275">setVelocity</a>, and <a class="el" href="complex__source_8cpp-source.html#l00213">stop</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NLSOUND::CComplexSource::_Source2"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLSOUND_1_1USource.html">USource</a>* NLSOUND::CComplexSource::_Source2<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00127">127</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>, <a class="el" href="complex__source_8cpp-source.html#l00294">setDirection</a>, <a class="el" href="complex__source_8cpp-source.html#l00314">setGain</a>, <a class="el" href="complex__source_8cpp-source.html#l00259">setPos</a>, <a class="el" href="complex__source_8cpp-source.html#l00330">setRelativeGain</a>, <a class="el" href="complex__source_8cpp-source.html#l00275">setVelocity</a>, and <a class="el" href="complex__source_8cpp-source.html#l00213">stop</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NLSOUND::CComplexSource::_StartTime1"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> NLSOUND::CComplexSource::_StartTime1<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00134">134</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, and <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NLSOUND::CComplexSource::_StartTime2"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> NLSOUND::CComplexSource::_StartTime2<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00135">135</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, and <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>. </td>
+ </tr>
+</table>
+<a name="o5" doxytag="NLSOUND::CComplexSource::_TickPerSecond"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NLSOUND::CComplexSource::_TickPerSecond<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="complex__source_8h-source.html#l00137">137</a> of file <a class="el" href="complex__source_8h-source.html">complex_source.h</a>.
+<p>
+Referenced by <a class="el" href="complex__source_8cpp-source.html#l00037">CComplexSource</a>, <a class="el" href="complex__source_8cpp-source.html#l00493">onEvent</a>, <a class="el" href="complex__source_8cpp-source.html#l00380">onUpdate</a>, and <a class="el" href="complex__source_8cpp-source.html#l00096">play</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="complex__source_8h-source.html">complex_source.h</a><li><a class="el" href="complex__source_8cpp-source.html">complex_source.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>