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/classNLSOUND_1_1CSourceUser.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLSOUND_1_1CSourceUser.html')
-rw-r--r-- | docs/doxygen/nel/classNLSOUND_1_1CSourceUser.html | 2205 |
1 files changed, 2205 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLSOUND_1_1CSourceUser.html b/docs/doxygen/nel/classNLSOUND_1_1CSourceUser.html new file mode 100644 index 00000000..24b7ca40 --- /dev/null +++ b/docs/doxygen/nel/classNLSOUND_1_1CSourceUser.html @@ -0,0 +1,2205 @@ +<!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> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </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> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </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> + + +<!-- 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> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <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> </center> +<hr><h1>NLSOUND::CSourceUser Class Reference</h1>Implementation of <a class="el" href="classNLSOUND_1_1USource.html">USource</a>. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="source__user_8h-source.html">source_user.h</a>></code> +<p> +<p>Inheritance diagram for NLSOUND::CSourceUser: +<p><center><img src="classNLSOUND_1_1CSourceUser.gif" usemap="#NLSOUND::CSourceUser_map" border="0"></center> +<map name="NLSOUND::CSourceUser_map"> +<area href="classNLSOUND_1_1USource.html" alt="NLSOUND::USource" shape="rect" coords="0,0,154,24"> +<area href="classNLSOUND_1_1IPlayable.html" alt="NLSOUND::IPlayable" shape="rect" coords="164,0,318,24"> +</map> +<a href="classNLSOUND_1_1CSourceUser-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> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a0">CSourceUser</a> (<a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a> <a class="el" href="driver__opengl__extension__def_8h.html#a234">id</a>=NULL, bool spawn=false, <a class="el" href="namespaceNLSOUND.html#a10">TSpawnEndCallback</a> cb=0, void *cbUserParam=0, <a class="el" href="structNLSOUND_1_1CSoundContext.html">CSoundContext</a> *context=0, const std::string &buffername="")</td></tr> +<tr><td> </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>virtual </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a1">~CSourceUser</a> ()</td></tr> +<tr><td> </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>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a2">setSound</a> (<a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a> <a class="el" href="driver__opengl__extension__def_8h.html#a234">id</a>, <a class="el" href="structNLSOUND_1_1CSoundContext.html">CSoundContext</a> *context=0, const std::string &buffername="")</td></tr> +<tr><td> </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> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a3">getSound</a> ()</td></tr> +<tr><td> </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 </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a4">setPriority</a> (<a class="el" href="namespaceNLSOUND.html#a80">TSoundPriority</a> pr, bool redispatch=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Change the priority of the source.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLSOUND.html#a80">TSoundPriority</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a5">getPriority</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return the priority.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a6">setPos</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the position vector (default: (0,0,0)).</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a7">getPos</a> (<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the position vector.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a8">setVelocity</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &vel)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)).</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a9">getVelocity</a> (<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &vel) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the velocity vector.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a10">setDirection</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &dir)</td></tr> +<tr><td> </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="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a11">getDirection</a> (<a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &dir) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the direction vector.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a12">setGain</a> (float gain)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the gain (volume value inside [0 , 1]).</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a13">getGain</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the gain.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a14">setRelativeGain</a> (float gain)</td></tr> +<tr><td> </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()-><a class="el" href="classNLSOUND_1_1CSourceUser.html#a13">getGain</a>()).</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a15">getRelativeGain</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the relative gain (see <a class="el" href="classNLSOUND_1_1CSourceUser.html#a14">setRelativeGain</a>()), or the absolute gain if getSource() is null.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a16">setPitch</a> (float pitch)</td></tr> +<tr><td> </td><td><font size=-1><em>Shift the frequency.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a17">getPitch</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the pitch.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a18">setSourceRelativeMode</a> (bool mode)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the source relative mode. If true, positions are interpreted relative to the listener position (default: false).</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a19">getSourceRelativeMode</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the source relative mode.</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a20">set3DPositionVector</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> *pos)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the position vector to return for a stereo source (default: NULL).</em> <a href="#a20">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a21">getPositionP</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return a pointer to the position vector (3D mode only).</em> <a href="#a21">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a22">enterTrack</a> (<a class="el" href="classNLSOUND_1_1CTrack.html">CTrack</a> *track)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the corresponding track (NULL allowed, sets no track) Don't set a non-null track if <a class="el" href="classNLSOUND_1_1CSourceUser.html#a3">getSound</a>() is null.</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a23">leaveTrack</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Unset the corresponding track.</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1CTrack.html">CTrack</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a24">getTrack</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return the track.</em> <a href="#a24">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a25">isStopped</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return true if playing is finished or <a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_3">stop</a>() has been called.</em> <a href="#a25">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a26">isSpawn</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the spawn state.</em> <a href="#a26">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLSOUND.html#a10">TSpawnEndCallback</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a27">getSpawnEndCallback</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the spawn end callback.</em> <a href="#a27">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a28">getCallbackUserParam</a> (void) const</td></tr> +<tr><td> </td><td><font size=-1><em>return the user param for the user callback.</em> <a href="#a28">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a29">enable</a> (bool toplay, float gain)</td></tr> +<tr><td> </td><td><font size=-1><em>Enable (play with high priority) or disable (stop and set low priority).</em> <a href="#a29">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a30">moveTo</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos)</td></tr> +<tr><td> </td><td><font size=-1><em>Move (set position).</em> <a href="#a30">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNLSOUND_1_1IBuffer.html">IBuffer</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#a31">getBuffer</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Serial sound and looping state (warning: partial serial).</em> <a href="#a31">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 </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_0">setLooping</a> (bool l)</td></tr> +<tr><td> </td><td><font size=-1><em>Set looping on/off for future playbacks (default: off).</em> <a href="#z955_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_1">getLooping</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the looping state.</em> <a href="#z955_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_2">play</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Play.</em> <a href="#z955_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_3">stop</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Stop playing.</em> <a href="#z955_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_4">isPlaying</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Get playing state. Return false even if the source has stopped on its own.</em> <a href="#z955_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_5">unregisterSpawnCallBack</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Tells this source not to call its callbacks when it ends. This is valid for spawned sources only.</em> <a href="#z955_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTicks</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_6">getPlayTime</a> ()</td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#d0">init</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Static init (call at the very beginning).</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#b0">copyToTrack</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Copy the source data into the corresponding track (_Track must be not null).</em> <a href="#b0">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_1CSound.html">CSound</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o0">_Sound</a></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o1">_Buffername</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLSOUND.html#a80">TSoundPriority</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o2">_Priority</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o3">_Playing</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o4">_Looping</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o5">_Position</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o6">_Velocity</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o7">_Direction</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o8">_Gain</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o9">_Pitch</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o10">_RelativeMode</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1CTrack.html">CTrack</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o11">_Track</a></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o12">_3DPosition</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a182">NLMISC::TTime</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o13">_PlayStart</a></td></tr> +<tr><td nowrap align=right valign=top>const bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o14">_Spawn</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLSOUND.html#a10">TSpawnEndCallback</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o15">_SpawnEndCb</a></td></tr> +<tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceUser.html#o16">_CbUserParam</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Implementation of <a class="el" href="classNLSOUND_1_1USource.html">USource</a>. +<p> +<dl compact><dt><b> +Author: </b><dd> +Olivier Cado , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00050">50</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NLSOUND::CSourceUser::CSourceUser"></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::CSourceUser::CSourceUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a> </td> + <td class="mdname" nowrap> <em>id</em> = NULL, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>spawn</em> = false, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLSOUND.html#a10">TSpawnEndCallback</a> </td> + <td class="mdname" nowrap> <em>cb</em> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>cbUserParam</em> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="structNLSOUND_1_1CSoundContext.html">CSoundContext</a> * </td> + <td class="mdname" nowrap> <em>context</em> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>buffername</em> = ""</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></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="source__user_8cpp-source.html#l00044">44</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="namespaceNLSOUND.html#a80a13">NLSOUND::MidPri</a>, <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>, <a class="el" href="u__source_8h-source.html#l00064">NLSOUND::TSoundId</a>, and <a class="el" href="u__source_8h-source.html#l00071">NLSOUND::TSpawnEndCallback</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLSOUND::CSourceUser::~CSourceUser"></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::CSourceUser::~CSourceUser </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="source__user_8cpp-source.html#l00068">68</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="b0" doxytag="NLSOUND::CSourceUser::copyToTrack"></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::CSourceUser::copyToTrack </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> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Copy the source data into the corresponding track (_Track must be not null). +<p> + +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00391">391</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, <a class="el" href="source__user_8h-source.html#l00192">_Direction</a>, <a class="el" href="source__user_8h-source.html#l00193">_Gain</a>, <a class="el" href="source__user_8h-source.html#l00188">_Looping</a>, <a class="el" href="source__user_8h-source.html#l00194">_Pitch</a>, <a class="el" href="source__user_8h-source.html#l00190">_Position</a>, <a class="el" href="source__user_8h-source.html#l00195">_RelativeMode</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, <a class="el" href="source__user_8h-source.html#l00191">_Velocity</a>, <a class="el" href="debug_8h-source.html#l00255">nlassert</a>, and <a class="el" href="source__user_8cpp-source.html#l00274">setDirection</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00416">enterTrack</a>. </td> + </tr> +</table> +<a name="a29" doxytag="NLSOUND::CSourceUser::enable"></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::CSourceUser::enable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname" nowrap> <em>toplay</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>gain</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> +Enable (play with high priority) or disable (stop and set low priority). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1IPlayable.html#a2">NLSOUND::IPlayable</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00476">476</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00073">getPriority</a>, <a class="el" href="source__user_8h-source.html#l00069">getSound</a>, <a class="el" href="namespaceNLSOUND.html#a80a12">NLSOUND::HighPri</a>, <a class="el" href="namespaceNLSOUND.html#a80a14">NLSOUND::LowPri</a>, <a class="el" href="source__user_8cpp-source.html#l00188">play</a>, <a class="el" href="source__user_8cpp-source.html#l00150">setPriority</a>, <a class="el" href="source__user_8cpp-source.html#l00326">setRelativeGain</a>, and <a class="el" href="source__user_8cpp-source.html#l00211">stop</a>. </td> + </tr> +</table> +<a name="a22" doxytag="NLSOUND::CSourceUser::enterTrack"></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::CSourceUser::enterTrack </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLSOUND_1_1CTrack.html">CTrack</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>track</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> +Set the corresponding track (NULL allowed, sets no track) Don't set a non-null track if <a class="el" href="classNLSOUND_1_1CSourceUser.html#a3">getSound</a>() is null. +<p> + +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00416">416</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="debug_8h-source.html#l00294">nlassertex</a>, and <a class="el" href="debug_8h-source.html#l00415">nlstopex</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00457">leaveTrack</a>. </td> + </tr> +</table> +<a name="a31" doxytag="NLSOUND::CSourceUser::getBuffer"></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_1IBuffer.html">IBuffer</a> * NLSOUND::CSourceUser::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><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serial sound and looping state (warning: partial serial). +<p> + +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00138">138</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, and <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>. </td> + </tr> +</table> +<a name="a28" doxytag="NLSOUND::CSourceUser::getCallbackUserParam"></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::CSourceUser::getCallbackUserParam </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the user param for the user callback. +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00159">159</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00209">_CbUserParam</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NLSOUND::CSourceUser::getDirection"></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"> virtual void NLSOUND::CSourceUser::getDirection </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>dir</em> </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> +Get the direction vector. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_5">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00112">112</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00192">_Direction</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NLSOUND::CSourceUser::getGain"></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"> virtual float NLSOUND::CSourceUser::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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the gain. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_7">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00121">121</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00193">_Gain</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00339">getRelativeGain</a>. </td> + </tr> +</table> +<a name="z955_1" doxytag="NLSOUND::CSourceUser::getLooping"></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::CSourceUser::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> [virtual]</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> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z357_1">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00179">179</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00188">_Looping</a>. </td> + </tr> +</table> +<a name="a17" doxytag="NLSOUND::CSourceUser::getPitch"></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"> virtual float NLSOUND::CSourceUser::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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the pitch. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_11">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00133">133</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00194">_Pitch</a>. </td> + </tr> +</table> +<a name="z955_6" doxytag="NLSOUND::CSourceUser::getPlayTime"></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"> virtual <a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTicks</a> NLSOUND::CSourceUser::getPlayTime </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00090">90</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00204">_PlayStart</a>, and <a class="el" href="time__nl_8cpp-source.html#l00055">NLMISC::CTime::getLocalTime</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NLSOUND::CSourceUser::getPos"></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::CSourceUser::getPos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>pos</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> +Get the position vector. +<p> +If the source is stereo, return the position vector which reference was passed to <a class="el" href="classNLSOUND_1_1CSourceUser.html#a20">set3DPositionVector</a>() +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_1">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00242">242</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00201">_3DPosition</a>, and <a class="el" href="source__user_8h-source.html#l00190">_Position</a>. </td> + </tr> +</table> +<a name="a21" doxytag="NLSOUND::CSourceUser::getPositionP"></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"> const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>* NLSOUND::CSourceUser::getPositionP </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 a pointer to the position vector (3D mode only). +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00143">143</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00190">_Position</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLSOUND::CSourceUser::getPriority"></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#a80">TSoundPriority</a> NLSOUND::CSourceUser::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><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the priority. +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00073">73</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00186">_Priority</a>, and <a class="el" href="u__source_8h-source.html#l00067">NLSOUND::TSoundPriority</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00476">enable</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NLSOUND::CSourceUser::getRelativeGain"></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::CSourceUser::getRelativeGain </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the relative gain (see <a class="el" href="classNLSOUND_1_1CSourceUser.html#a14">setRelativeGain</a>()), or the absolute gain if getSource() is null. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_9">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00339">339</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00193">_Gain</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, and <a class="el" href="source__user_8h-source.html#l00121">getGain</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NLSOUND::CSourceUser::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"> virtual <a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a> NLSOUND::CSourceUser::getSound </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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#a1">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00069">69</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, and <a class="el" href="u__source_8h-source.html#l00064">NLSOUND::TSoundId</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00476">enable</a>, and <a class="el" href="source__user_8cpp-source.html#l00211">stop</a>. </td> + </tr> +</table> +<a name="a19" doxytag="NLSOUND::CSourceUser::getSourceRelativeMode"></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"> virtual bool NLSOUND::CSourceUser::getSourceRelativeMode </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> +Get the source relative mode. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_13">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00137">137</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00195">_RelativeMode</a>. </td> + </tr> +</table> +<a name="a27" doxytag="NLSOUND::CSourceUser::getSpawnEndCallback"></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#a10">TSpawnEndCallback</a> NLSOUND::CSourceUser::getSpawnEndCallback </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 spawn end callback. +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00157">157</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00208">_SpawnEndCb</a>, and <a class="el" href="u__source_8h-source.html#l00071">NLSOUND::TSpawnEndCallback</a>. </td> + </tr> +</table> +<a name="a24" doxytag="NLSOUND::CSourceUser::getTrack"></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_1CTrack.html">CTrack</a>* NLSOUND::CSourceUser::getTrack </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the track. +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00151">151</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00198">_Track</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00534">isPlaying</a>, and <a class="el" href="source__user_8cpp-source.html#l00581">isStopped</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NLSOUND::CSourceUser::getVelocity"></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"> virtual void NLSOUND::CSourceUser::getVelocity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>vel</em> </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> +Get the velocity vector. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_3">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00108">108</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00191">_Velocity</a>. </td> + </tr> +</table> +<a name="d0" doxytag="NLSOUND::CSourceUser::init"></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::CSourceUser::init </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><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Static init (call at the very beginning). +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00060">60</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. </td> + </tr> +</table> +<a name="z955_4" doxytag="NLSOUND::CSourceUser::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::CSourceUser::isPlaying </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> +Get playing state. Return false even if the source has stopped on its own. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z357_4">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00534">534</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, <a class="el" href="source__user_8h-source.html#l00188">_Looping</a>, <a class="el" href="source__user_8h-source.html#l00187">_Playing</a>, <a class="el" href="source__user_8h-source.html#l00204">_PlayStart</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, <a class="el" href="source__user_8h-source.html#l00151">getTrack</a>, and <a class="el" href="debug_8h-source.html#l00255">nlassert</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="a26" doxytag="NLSOUND::CSourceUser::isSpawn"></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::CSourceUser::isSpawn </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 spawn state. +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00155">155</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00207">_Spawn</a>. </td> + </tr> +</table> +<a name="a25" doxytag="NLSOUND::CSourceUser::isStopped"></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::CSourceUser::isStopped </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 true if playing is finished or <a class="el" href="classNLSOUND_1_1CSourceUser.html#z955_3">stop</a>() has been called. +<p> + +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00581">581</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, <a class="el" href="source__user_8h-source.html#l00188">_Looping</a>, <a class="el" href="source__user_8h-source.html#l00187">_Playing</a>, <a class="el" href="source__user_8h-source.html#l00204">_PlayStart</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, and <a class="el" href="source__user_8h-source.html#l00151">getTrack</a>. </td> + </tr> +</table> +<a name="a23" doxytag="NLSOUND::CSourceUser::leaveTrack"></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::CSourceUser::leaveTrack </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> +Unset the corresponding track. +<p> + +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00457">457</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, and <a class="el" href="source__user_8cpp-source.html#l00416">enterTrack</a>. </td> + </tr> +</table> +<a name="a30" doxytag="NLSOUND::CSourceUser::moveTo"></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"> virtual void NLSOUND::CSourceUser::moveTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>pos</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Move (set position). +<p> + +<p> +Reimplemented from <a class="el" href="classNLSOUND_1_1IPlayable.html#a1">NLSOUND::IPlayable</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00166">166</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8cpp-source.html#l00227">setPos</a>. </td> + </tr> +</table> +<a name="z955_2" doxytag="NLSOUND::CSourceUser::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::CSourceUser::play </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> +Play. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z357_2">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00188">188</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, <a class="el" href="source__user_8h-source.html#l00187">_Playing</a>, <a class="el" href="source__user_8h-source.html#l00204">_PlayStart</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, and <a class="el" href="debug_8h-source.html#l00115">nlwarning</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00476">enable</a>. </td> + </tr> +</table> +<a name="a20" doxytag="NLSOUND::CSourceUser::set3DPositionVector"></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::CSourceUser::set3DPositionVector </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>pos</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the position vector to return for a stereo source (default: NULL). +<p> + +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00141">141</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00201">_3DPosition</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NLSOUND::CSourceUser::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::CSourceUser::setDirection </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>dir</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> +Set the direction vector (3D mode only, ignored in stereo mode) (default: (0,0,0) as non-directional). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_4">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00274">274</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, <a class="el" href="source__user_8h-source.html#l00192">_Direction</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, and <a class="el" href="vector__inline_8h-source.html#l00148">NLMISC::CVector::isNull</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NLSOUND::CSourceUser::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::CSourceUser::setGain </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>gain</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> +Set the gain (volume value inside [0 , 1]). +<p> +(default: 1) 0.0 -> silence 0.5 -> -6dB 1.0 -> no attenuation values > 1 (amplification) not supported by most drivers +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_6">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00310">310</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00193">_Gain</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, and <a class="el" href="debug_8h-source.html#l00255">nlassert</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00326">setRelativeGain</a>. </td> + </tr> +</table> +<a name="z955_0" doxytag="NLSOUND::CSourceUser::setLooping"></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::CSourceUser::setLooping </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>l</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> +Set looping on/off for future playbacks (default: off). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z357_0">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00166">166</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00188">_Looping</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, and <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NLSOUND::CSourceUser::setPitch"></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::CSourceUser::setPitch </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>pitch</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> +Shift the frequency. +<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_1USource.html#z358_10">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00359">359</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00194">_Pitch</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, and <a class="el" href="debug_8h-source.html#l00255">nlassert</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NLSOUND::CSourceUser::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::CSourceUser::setPos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>pos</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> +Set the position vector (default: (0,0,0)). +<p> +3D mode -> 3D position st mode -> x is the pan value (from left (-1) to right (1)), set y and z to 0 +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_0">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00227">227</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00190">_Position</a>, and <a class="el" href="source__user_8h-source.html#l00198">_Track</a>. +<p> +Referenced by <a class="el" href="source__user_8h-source.html#l00166">moveTo</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NLSOUND::CSourceUser::setPriority"></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::CSourceUser::setPriority </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLSOUND.html#a80">TSoundPriority</a> </td> + <td class="mdname" nowrap> <em>pr</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>redispatch</em> = true</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> +Change the priority of the source. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#a2">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00150">150</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00186">_Priority</a>, and <a class="el" href="u__source_8h-source.html#l00067">NLSOUND::TSoundPriority</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00476">enable</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NLSOUND::CSourceUser::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::CSourceUser::setRelativeGain </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>gain</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> +Set the gain amount (value inside [0, 1]) to map between 0 and the nominal gain (which is getSource()-><a class="el" href="classNLSOUND_1_1CSourceUser.html#a13">getGain</a>()). +<p> +Does nothing if getSource() is null. +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_8">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00326">326</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, <a class="el" href="debug_8h-source.html#l00255">nlassert</a>, and <a class="el" href="source__user_8cpp-source.html#l00310">setGain</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00476">enable</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLSOUND::CSourceUser::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::CSourceUser::setSound </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLSOUND.html#a8">TSoundId</a> </td> + <td class="mdname" nowrap> <em>id</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="structNLSOUND_1_1CSoundContext.html">CSoundContext</a> * </td> + <td class="mdname" nowrap> <em>context</em> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>buffername</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> +Change the sound binded to the source. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#a0">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00085">85</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00185">_Buffername</a>, <a class="el" href="source__user_8h-source.html#l00192">_Direction</a>, <a class="el" href="source__user_8h-source.html#l00193">_Gain</a>, <a class="el" href="source__user_8h-source.html#l00188">_Looping</a>, <a class="el" href="source__user_8h-source.html#l00194">_Pitch</a>, <a class="el" href="source__user_8h-source.html#l00186">_Priority</a>, <a class="el" href="source__user_8h-source.html#l00183">_Sound</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="source__user_8cpp-source.html#l00534">isPlaying</a>, <a class="el" href="debug_8h-source.html#l00255">nlassert</a>, <a class="el" href="debug_8h-source.html#l00115">nlwarning</a>, <a class="el" href="source__user_8cpp-source.html#l00211">stop</a>, and <a class="el" href="u__source_8h-source.html#l00064">NLSOUND::TSoundId</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00044">CSourceUser</a>. </td> + </tr> +</table> +<a name="a18" doxytag="NLSOUND::CSourceUser::setSourceRelativeMode"></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::CSourceUser::setSourceRelativeMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>mode</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> +Set the source relative mode. If true, positions are interpreted relative to the listener position (default: false). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_12">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00375">375</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00195">_RelativeMode</a>, and <a class="el" href="source__user_8h-source.html#l00198">_Track</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLSOUND::CSourceUser::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::CSourceUser::setVelocity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>vel</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> +Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z358_2">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00259">259</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, and <a class="el" href="source__user_8h-source.html#l00191">_Velocity</a>. </td> + </tr> +</table> +<a name="z955_3" doxytag="NLSOUND::CSourceUser::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::CSourceUser::stop </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> +Stop playing. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z357_3">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8cpp-source.html#l00211">211</a> of file <a class="el" href="source__user_8cpp-source.html">source_user.cpp</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00187">_Playing</a>, <a class="el" href="source__user_8h-source.html#l00198">_Track</a>, <a class="el" href="zone__lighter_8cpp-source.html#l02546">getName</a>, <a class="el" href="source__user_8h-source.html#l00069">getSound</a>, <a class="el" href="debug_8h-source.html#l00088">nldebug</a>, and <a class="el" href="debug_8h-source.html#l00095">nlinfo</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00476">enable</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="z955_5" doxytag="NLSOUND::CSourceUser::unregisterSpawnCallBack"></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"> virtual void NLSOUND::CSourceUser::unregisterSpawnCallBack </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Tells this source not to call its callbacks when it ends. This is valid for spawned sources only. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1USource.html#z357_5">NLSOUND::USource</a>. +<p> +Definition at line <a class="el" href="source__user_8h-source.html#l00088">88</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +References <a class="el" href="source__user_8h-source.html#l00208">_SpawnEndCb</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o12" doxytag="NLSOUND::CSourceUser::_3DPosition"></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"> const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>* NLSOUND::CSourceUser::_3DPosition<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="source__user_8h-source.html#l00201">201</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00242">getPos</a>, and <a class="el" href="source__user_8h-source.html#l00141">set3DPositionVector</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NLSOUND::CSourceUser::_Buffername"></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::string NLSOUND::CSourceUser::_Buffername<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="source__user_8h-source.html#l00185">185</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00416">enterTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00138">getBuffer</a>, <a class="el" href="source__user_8cpp-source.html#l00534">isPlaying</a>, <a class="el" href="source__user_8cpp-source.html#l00581">isStopped</a>, <a class="el" href="source__user_8cpp-source.html#l00188">play</a>, <a class="el" href="source__user_8cpp-source.html#l00274">setDirection</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="o16" doxytag="NLSOUND::CSourceUser::_CbUserParam"></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::CSourceUser::_CbUserParam<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="source__user_8h-source.html#l00209">209</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8h-source.html#l00159">getCallbackUserParam</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NLSOUND::CSourceUser::_Direction"></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="classNLMISC_1_1CVector.html">NLMISC::CVector</a> NLSOUND::CSourceUser::_Direction<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="source__user_8h-source.html#l00192">192</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8h-source.html#l00112">getDirection</a>, <a class="el" href="source__user_8cpp-source.html#l00274">setDirection</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NLSOUND::CSourceUser::_Gain"></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::CSourceUser::_Gain<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="source__user_8h-source.html#l00193">193</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8h-source.html#l00121">getGain</a>, <a class="el" href="source__user_8cpp-source.html#l00339">getRelativeGain</a>, <a class="el" href="source__user_8cpp-source.html#l00310">setGain</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NLSOUND::CSourceUser::_Looping"></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::CSourceUser::_Looping<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="source__user_8h-source.html#l00188">188</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00179">getLooping</a>, <a class="el" href="source__user_8cpp-source.html#l00534">isPlaying</a>, <a class="el" href="source__user_8cpp-source.html#l00581">isStopped</a>, <a class="el" href="source__user_8cpp-source.html#l00166">setLooping</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="o9" doxytag="NLSOUND::CSourceUser::_Pitch"></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::CSourceUser::_Pitch<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="source__user_8h-source.html#l00194">194</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8h-source.html#l00133">getPitch</a>, <a class="el" href="source__user_8cpp-source.html#l00359">setPitch</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NLSOUND::CSourceUser::_Playing"></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::CSourceUser::_Playing<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="source__user_8h-source.html#l00187">187</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00534">isPlaying</a>, <a class="el" href="source__user_8cpp-source.html#l00581">isStopped</a>, <a class="el" href="source__user_8cpp-source.html#l00188">play</a>, and <a class="el" href="source__user_8cpp-source.html#l00211">stop</a>. </td> + </tr> +</table> +<a name="o13" doxytag="NLSOUND::CSourceUser::_PlayStart"></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#a182">NLMISC::TTime</a> NLSOUND::CSourceUser::_PlayStart<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="source__user_8h-source.html#l00204">204</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8h-source.html#l00090">getPlayTime</a>, <a class="el" href="source__user_8cpp-source.html#l00534">isPlaying</a>, <a class="el" href="source__user_8cpp-source.html#l00581">isStopped</a>, and <a class="el" href="source__user_8cpp-source.html#l00188">play</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NLSOUND::CSourceUser::_Position"></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="classNLMISC_1_1CVector.html">NLMISC::CVector</a> NLSOUND::CSourceUser::_Position<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="source__user_8h-source.html#l00190">190</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00242">getPos</a>, <a class="el" href="source__user_8h-source.html#l00143">getPositionP</a>, and <a class="el" href="source__user_8cpp-source.html#l00227">setPos</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NLSOUND::CSourceUser::_Priority"></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#a80">TSoundPriority</a> NLSOUND::CSourceUser::_Priority<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="source__user_8h-source.html#l00186">186</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8h-source.html#l00073">getPriority</a>, <a class="el" href="source__user_8cpp-source.html#l00150">setPriority</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="o10" doxytag="NLSOUND::CSourceUser::_RelativeMode"></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::CSourceUser::_RelativeMode<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="source__user_8h-source.html#l00195">195</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8h-source.html#l00137">getSourceRelativeMode</a>, and <a class="el" href="source__user_8cpp-source.html#l00375">setSourceRelativeMode</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NLSOUND::CSourceUser::_Sound"></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_1CSound.html">CSound</a>* NLSOUND::CSourceUser::_Sound<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="source__user_8h-source.html#l00183">183</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00416">enterTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00138">getBuffer</a>, <a class="el" href="source__user_8cpp-source.html#l00339">getRelativeGain</a>, <a class="el" href="source__user_8h-source.html#l00069">getSound</a>, <a class="el" href="source__user_8cpp-source.html#l00534">isPlaying</a>, <a class="el" href="source__user_8cpp-source.html#l00581">isStopped</a>, <a class="el" href="source__user_8cpp-source.html#l00188">play</a>, <a class="el" href="source__user_8cpp-source.html#l00274">setDirection</a>, <a class="el" href="source__user_8cpp-source.html#l00326">setRelativeGain</a>, and <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>. </td> + </tr> +</table> +<a name="o14" doxytag="NLSOUND::CSourceUser::_Spawn"></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"> const bool NLSOUND::CSourceUser::_Spawn<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="source__user_8h-source.html#l00207">207</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8h-source.html#l00155">isSpawn</a>. </td> + </tr> +</table> +<a name="o15" doxytag="NLSOUND::CSourceUser::_SpawnEndCb"></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#a10">TSpawnEndCallback</a> NLSOUND::CSourceUser::_SpawnEndCb<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="source__user_8h-source.html#l00208">208</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8h-source.html#l00157">getSpawnEndCallback</a>, and <a class="el" href="source__user_8h-source.html#l00088">unregisterSpawnCallBack</a>. </td> + </tr> +</table> +<a name="o11" doxytag="NLSOUND::CSourceUser::_Track"></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_1CTrack.html">CTrack</a>* NLSOUND::CSourceUser::_Track<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="source__user_8h-source.html#l00198">198</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00416">enterTrack</a>, <a class="el" href="source__user_8h-source.html#l00151">getTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00457">leaveTrack</a>, <a class="el" href="source__user_8cpp-source.html#l00188">play</a>, <a class="el" href="source__user_8cpp-source.html#l00274">setDirection</a>, <a class="el" href="source__user_8cpp-source.html#l00310">setGain</a>, <a class="el" href="source__user_8cpp-source.html#l00166">setLooping</a>, <a class="el" href="source__user_8cpp-source.html#l00359">setPitch</a>, <a class="el" href="source__user_8cpp-source.html#l00227">setPos</a>, <a class="el" href="source__user_8cpp-source.html#l00085">setSound</a>, <a class="el" href="source__user_8cpp-source.html#l00375">setSourceRelativeMode</a>, <a class="el" href="source__user_8cpp-source.html#l00259">setVelocity</a>, and <a class="el" href="source__user_8cpp-source.html#l00211">stop</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NLSOUND::CSourceUser::_Velocity"></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="classNLMISC_1_1CVector.html">NLMISC::CVector</a> NLSOUND::CSourceUser::_Velocity<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="source__user_8h-source.html#l00191">191</a> of file <a class="el" href="source__user_8h-source.html">source_user.h</a>. +<p> +Referenced by <a class="el" href="source__user_8cpp-source.html#l00391">copyToTrack</a>, <a class="el" href="source__user_8h-source.html#l00108">getVelocity</a>, and <a class="el" href="source__user_8cpp-source.html#l00259">setVelocity</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="source__user_8h-source.html">source_user.h</a><li><a class="el" href="source__user_8cpp-source.html">source_user.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </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> |