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_1CSourceDSound.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNLSOUND_1_1CSourceDSound.html | 2947 |
1 files changed, 2947 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLSOUND_1_1CSourceDSound.html b/docs/doxygen/nel/classNLSOUND_1_1CSourceDSound.html new file mode 100644 index 00000000..c4666aa1 --- /dev/null +++ b/docs/doxygen/nel/classNLSOUND_1_1CSourceDSound.html @@ -0,0 +1,2947 @@ +<!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::CSourceDSound Class Reference</h1>DirectSound sound source. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>></code> +<p> +<p>Inheritance diagram for NLSOUND::CSourceDSound: +<p><center><img src="classNLSOUND_1_1CSourceDSound.gif" usemap="#NLSOUND::CSourceDSound_map" border="0"></center> +<map name="NLSOUND::CSourceDSound_map"> +<area href="classNLSOUND_1_1ISource.html" alt="NLSOUND::ISource" shape="rect" coords="0,0,173,24"> +</map> +<a href="classNLSOUND_1_1CSourceDSound-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_1CSourceDSound.html#a0">CSourceDSound</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> sourcename=0)</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_1CSourceDSound.html#a1">~CSourceDSound</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>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#a2">init</a> (LPDIRECTSOUND directSound)</td></tr> +<tr><td> </td><td><font size=-1><em>Initialize the DirectSound buffers. Called by the sound driver only.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#a3">sourceName</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Return the OpenAL source name.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1IBuffer.html">IBuffer</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#a4">getBuffer</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the buffer associated with this source.</em> <a href="#a4">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_1CSourceDSound.html#a5">reset</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#a6">updateVolume</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &listener)</td></tr> +<tr><td> </td><td><font size=-1><em>Update the source's volume according to its distance and fade out curve. It takes the current position of the listener as argument.</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_1CSourceDSound.html#a7">setAlpha</a> (double a)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the alpha value for the volume-distance curve.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Initialization</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#z968_0">setStaticBuffer</a> (<a class="el" href="classNLSOUND_1_1IBuffer.html">IBuffer</a> *<a class="el" href="driver__opengl__extension__def_8h.html#a381">buffer</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the buffer that will be played (no streaming) If the buffer is stereo, the source mode becomes stereo and the source relative mode is on, otherwise the source is considered as a 3D source.</em> <a href="#z968_0">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_1CSourceDSound.html#z969_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="#z969_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_1CSourceDSound.html#z969_1">getLooping</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the looping state.</em> <a href="#z969_1">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_1CSourceDSound.html#z969_2">play</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Play the static buffer (or stream in and play).</em> <a href="#z969_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_1CSourceDSound.html#z969_3">stop</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Stop playing.</em> <a href="#z969_3">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_1CSourceDSound.html#z969_4">pause</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Pause. Call <a class="el" href="classNLSOUND_1_1CSourceDSound.html#z969_2">play</a>() to resume.</em> <a href="#z969_4">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_1CSourceDSound.html#z969_5">isPlaying</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the playing state.</em> <a href="#z969_5">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_1CSourceDSound.html#z969_6">isStopped</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return true if playing is finished or <a class="el" href="classNLSOUND_1_1CSourceDSound.html#z969_3">stop</a>() has been called.</em> <a href="#z969_6">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_1CSourceDSound.html#z969_7">isPaused</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the paused state.</em> <a href="#z969_7">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_1CSourceDSound.html#z969_8">update</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Update the source (e.g. continue to stream the data in).</em> <a href="#z969_8">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_1CSourceDSound.html#z969_9">update2</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Update the source (e.g.</em> <a href="#z969_9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#z969_10">getTime</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the number of milliseconds the source has been playing.</em> <a href="#z969_10">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Source properties</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#z970_0">setPos</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &pos, bool deferred)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the position vector (default: (0,0,0)).</em> <a href="#z970_0">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_1CSourceDSound.html#z970_1">getPos</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the position vector.</em> <a href="#z970_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_1CSourceDSound.html#z970_2">setVelocity</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &vel, bool deferred)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the velocity vector (3D mode only) (default: (0,0,0)).</em> <a href="#z970_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_1CSourceDSound.html#z970_3">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="#z970_3">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_1CSourceDSound.html#z970_4">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) (default: (0,0,0) as non-directional).</em> <a href="#z970_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_1CSourceDSound.html#z970_5">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="#z970_5">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_1CSourceDSound.html#z970_6">setGain</a> (float gain)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the gain (volume value inside [0 , 1]) (default: 1) 0.0 -> silence 0.5 -> -6dB 1.0 -> no attenuation values > 1 (amplification) not supported by most drivers.</em> <a href="#z970_6">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_1CSourceDSound.html#z970_7">getGain</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the gain.</em> <a href="#z970_7">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_1CSourceDSound.html#z970_8">setPitch</a> (float pitch)</td></tr> +<tr><td> </td><td><font size=-1><em>Shift the frequency.</em> <a href="#z970_8">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_1CSourceDSound.html#z970_9">getPitch</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the pitch.</em> <a href="#z970_9">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_1CSourceDSound.html#z970_10">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="#z970_10">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_1CSourceDSound.html#z970_11">getSourceRelativeMode</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the source relative mode.</em> <a href="#z970_11">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_1CSourceDSound.html#z970_12">setMinMaxDistances</a> (float mindist, float maxdist, bool deferred)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the min and max distances (default: 1, MAX_FLOAT) (3D mode only).</em> <a href="#z970_12">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_1CSourceDSound.html#z970_13">getMinMaxDistances</a> (float &mindist, float &maxdist) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the min and max distances.</em> <a href="#z970_13">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_1CSourceDSound.html#z970_14">setCone</a> (float innerAngle, float outerAngle, float outerGain)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the cone angles (in radian) and gain (in [0 , 1]) (default: 2PI, 2PI, 0) (3D mode only).</em> <a href="#z970_14">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_1CSourceDSound.html#z970_15">getCone</a> (float &innerAngle, float &outerAngle, float &outerGain) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the cone angles (in radian).</em> <a href="#z970_15">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_1CSourceDSound.html#z970_16">setEAXProperty</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> prop, void *<a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>, <a class="el" href="memory__common_8h.html#a15">uint</a> valuesize)</td></tr> +<tr><td> </td><td><font size=-1><em>Set any EAX source property if EAX available.</em> <a href="#z970_16">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c0">release</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Release all DirectSound resources.</em> <a href="#c0">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_1CSourceDSound.html#c1">lock</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> writePos, <a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="cf__lexical_8cpp.html#a94">size</a>, <a class="el" href="memory__common_8h.html#a7">uint8</a> *&ptr1, DWORD &bytes1, <a class="el" href="memory__common_8h.html#a7">uint8</a> *&ptr2, DWORD &bytes2)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c2">unlock</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> *ptr1, DWORD bytes1, <a class="el" href="memory__common_8h.html#a7">uint8</a> *ptr2, DWORD bytes2)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c3">swap</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c4">getFadeOutSize</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> writePos, <a class="el" href="memory__common_8h.html#a11">uint32</a> &xfadeSize, <a class="el" href="memory__common_8h.html#a8">sint16</a> *&in1, <a class="el" href="memory__common_8h.html#a11">uint32</a> &writtenTooMuch)</td></tr> +<tr><td> </td><td><font size=-1><em>Calculate the size of the crossfade and set the pointer in the sample buffer to the sample that comes after the write cursor in the DirectSound buffer.</em> <a href="#c4">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_1CSourceDSound.html#c5">fill</a> ()</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c6">silence</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c7">crossFade</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c8">fadeOut</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c9">fadeIn</a> ()</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c10">needsUpdate</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Check whether the play position has advanced enough to require an update.</em> <a href="#c10">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_1CSourceDSound.html#c11">setUsed</a> (bool <a class="el" href="driver__opengl__extension__def_8h.html#a368">v</a>)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#c12">isUsed</a> ()</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o0">_SourceName</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o1">_BufferSize</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLSOUND_1_1IBuffer.html">IBuffer</a> * </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o2">_SwapBuffer</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o3">_Loop</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLSOUND.html#a85">TSourceDSoundUserState</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o4">_UserState</a></td></tr> +<tr><td nowrap align=right valign=top>LPDIRECTSOUNDBUFFER </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o5">_SecondaryBuffer</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLSOUND.html#a84">TSourceDSoundBufferState</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o6">_SecondaryBufferState</a></td></tr> +<tr><td nowrap align=right valign=top>LPDIRECTSOUND3DBUFFER </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o7">_3DBuffer</a></td></tr> +<tr><td nowrap align=right valign=top>CRITICAL_SECTION </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o8">_CriticalSection</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o9">_NextWritePos</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o10">_BytesWritten</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o11">_SilenceWritten</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o12">_EndPosition</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLSOUND.html#a86">TSourceDSoundEndState</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o13">_EndState</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o14">_Freq</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o15">_SampleRate</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o16">_IsUsed</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a10">sint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o17">_Volume</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o18">_Gain</a></td></tr> +<tr><td nowrap align=right valign=top>double </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#o19">_Alpha</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_1CSourceDSound.html#o20">_Pos</a></td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#r0">_UpdateCopySize</a> = 16384</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#r1">_SwapCopySize</a> = 32768</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#r2">_DefaultChannels</a> = 1</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#r3">_DefaultSampleRate</a> = 22050</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#r4">_DefaultSampleSize</a> = 16</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#r5">_XFadeSize</a> = 64</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#r6">_SecondaryBufferSize</a> = 65536</td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classNLSOUND_1_1CSourceDSound.html#l0">CSoundDriverDSound</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +DirectSound sound source. +<p> +For arguments as 3D vectors, use the NeL vector coordinate system +<p> +<dl compact><dt><b> +Author: </b><dd> +Peter Hanappe , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2002 </dl> +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8h-source.html#l00093">93</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NLSOUND::CSourceDSound::CSourceDSound"></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::CSourceDSound::CSourceDSound </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>sourcename</em> = 0 </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00098">98</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="source__dsound_8h-source.html#l00384">_Alpha</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="source__dsound_8cpp-source.html#l00065">_DefaultSampleRate</a>, <a class="el" href="source__dsound_8h-source.html#l00357">_EndPosition</a>, <a class="el" href="source__dsound_8h-source.html#l00364">_EndState</a>, <a class="el" href="source__dsound_8h-source.html#l00367">_Freq</a>, <a class="el" href="source__dsound_8h-source.html#l00382">_Gain</a>, <a class="el" href="source__dsound_8h-source.html#l00373">_IsUsed</a>, <a class="el" href="source__dsound_8h-source.html#l00327">_Loop</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00370">_SampleRate</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8h-source.html#l00339">_SecondaryBufferState</a>, <a class="el" href="source__dsound_8h-source.html#l00354">_SilenceWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00324">_SwapBuffer</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="source__dsound_8h-source.html#l00381">_Volume</a>, <a class="el" href="namespaceNLSOUND.html#a84a29">NLSOUND::NL_DSOUND_SILENCED</a>, <a class="el" href="namespaceNLSOUND.html#a85a32">NLSOUND::NL_DSOUND_STOPPED</a>, and <a class="el" href="namespaceNLSOUND.html#a86a33">NLSOUND::NL_DSOUND_TAIL1</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLSOUND::CSourceDSound::~CSourceDSound"></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::CSourceDSound::~CSourceDSound </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__dsound_8cpp-source.html#l00124">124</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00143">release</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="c7" doxytag="NLSOUND::CSourceDSound::crossFade"></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::CSourceDSound::crossFade </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> [private]</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__dsound_8cpp-source.html#l01618">1618</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="source__dsound_8h-source.html#l00367">_Freq</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00339">_SecondaryBufferState</a>, <a class="el" href="source__dsound_8h-source.html#l00354">_SilenceWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00324">_SwapBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00061">_SwapCopySize</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>, <a class="el" href="source__dsound_8cpp-source.html#l00054">INITTIME</a>, <a class="el" href="namespaceNLSOUND.html#a84a27">NLSOUND::NL_DSOUND_FILLING</a>, <a class="el" href="namespaceNLSOUND.html#a84a28">NLSOUND::NL_DSOUND_SILENCING</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00752">setPitch</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>. </td> + </tr> +</table> +<a name="c9" doxytag="NLSOUND::CSourceDSound::fadeIn"></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::CSourceDSound::fadeIn </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> [private]</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__dsound_8cpp-source.html#l02065">2065</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00357">_EndPosition</a>, <a class="el" href="source__dsound_8h-source.html#l00364">_EndState</a>, <a class="el" href="source__dsound_8h-source.html#l00367">_Freq</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00339">_SecondaryBufferState</a>, <a class="el" href="source__dsound_8h-source.html#l00354">_SilenceWritten</a>, <a class="el" href="source__dsound_8cpp-source.html#l00061">_SwapCopySize</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">data</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l00054">INITTIME</a>, <a class="el" href="source__dsound_8cpp-source.html#l01096">lock</a>, <a class="el" href="namespaceNLSOUND.html#a84a27">NLSOUND::NL_DSOUND_FILLING</a>, <a class="el" href="namespaceNLSOUND.html#a84a28">NLSOUND::NL_DSOUND_SILENCING</a>, <a class="el" href="namespaceNLSOUND.html#a85a32">NLSOUND::NL_DSOUND_STOPPED</a>, <a class="el" href="namespaceNLSOUND.html#a86a33">NLSOUND::NL_DSOUND_TAIL1</a>, <a class="el" href="namespaceNLSOUND.html#a86a34">NLSOUND::NL_DSOUND_TAIL2</a>, <a class="el" href="source__dsound_8cpp-source.html#l00070">NLSOUND_MIN</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>, <a class="el" href="source__dsound_8cpp-source.html#l00752">setPitch</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00907">updateVolume</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>. </td> + </tr> +</table> +<a name="c8" doxytag="NLSOUND::CSourceDSound::fadeOut"></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::CSourceDSound::fadeOut </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> [private]</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__dsound_8cpp-source.html#l01881">1881</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00357">_EndPosition</a>, <a class="el" href="source__dsound_8h-source.html#l00364">_EndState</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00339">_SecondaryBufferState</a>, <a class="el" href="source__dsound_8h-source.html#l00354">_SilenceWritten</a>, <a class="el" href="source__dsound_8cpp-source.html#l00061">_SwapCopySize</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>, <a class="el" href="source__dsound_8cpp-source.html#l00054">INITTIME</a>, <a class="el" href="namespaceNLSOUND.html#a84a28">NLSOUND::NL_DSOUND_SILENCING</a>, <a class="el" href="namespaceNLSOUND.html#a85a32">NLSOUND::NL_DSOUND_STOPPED</a>, <a class="el" href="namespaceNLSOUND.html#a86a33">NLSOUND::NL_DSOUND_TAIL1</a>, and <a class="el" href="namespaceNLSOUND.html#a86a34">NLSOUND::NL_DSOUND_TAIL2</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00440">pause</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00417">stop</a>. </td> + </tr> +</table> +<a name="c5" doxytag="NLSOUND::CSourceDSound::fill"></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::CSourceDSound::fill </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> [private]</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__dsound_8cpp-source.html#l01186">1186</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00357">_EndPosition</a>, <a class="el" href="source__dsound_8h-source.html#l00364">_EndState</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00339">_SecondaryBufferState</a>, <a class="el" href="source__dsound_8h-source.html#l00354">_SilenceWritten</a>, <a class="el" href="source__dsound_8cpp-source.html#l00062">_UpdateCopySize</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">data</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l00054">INITTIME</a>, <a class="el" href="source__dsound_8cpp-source.html#l01096">lock</a>, <a class="el" href="namespaceNLSOUND.html#a84a28">NLSOUND::NL_DSOUND_SILENCING</a>, <a class="el" href="namespaceNLSOUND.html#a85a32">NLSOUND::NL_DSOUND_STOPPED</a>, <a class="el" href="namespaceNLSOUND.html#a86a33">NLSOUND::NL_DSOUND_TAIL1</a>, <a class="el" href="namespaceNLSOUND.html#a86a34">NLSOUND::NL_DSOUND_TAIL2</a>, <a class="el" href="source__dsound_8cpp-source.html#l00070">NLSOUND_MIN</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00526">update2</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::getBuffer </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the buffer associated with this source. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l01088">1088</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>. </td> + </tr> +</table> +<a name="z970_15" doxytag="NLSOUND::CSourceDSound::getCone"></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::CSourceDSound::getCone </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname" nowrap> <em>innerAngle</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>outerAngle</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>outerGain</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the cone angles (in radian). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_15">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l01039">1039</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="common_8h-source.html#l00071">NLMISC::Pi</a>. </td> + </tr> +</table> +<a name="z970_5" doxytag="NLSOUND::CSourceDSound::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"> void NLSOUND::CSourceDSound::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> [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_1ISource.html#z980_5">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00696">696</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="vector__inline_8h-source.html#l00136">NLMISC::CVector::set</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="c4" doxytag="NLSOUND::CSourceDSound::getFadeOutSize"></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::CSourceDSound::getFadeOutSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>writePos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> & </td> + <td class="mdname" nowrap> <em>xfadeSize</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a8">sint16</a> *& </td> + <td class="mdname" nowrap> <em>in1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> & </td> + <td class="mdname" nowrap> <em>writtenTooMuch</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Calculate the size of the crossfade and set the pointer in the sample buffer to the sample that comes after the write cursor in the DirectSound buffer. +<p> +This method also returns the number of samples that have been written after the write cursor. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l01524">1524</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00354">_SilenceWritten</a>, <a class="el" href="source__dsound_8cpp-source.html#l00063">_XFadeSize</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00709">data</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00071">NLSOUND_DISTANCE</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>. </td> + </tr> +</table> +<a name="z970_7" doxytag="NLSOUND::CSourceDSound::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"> float NLSOUND::CSourceDSound::getGain </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> +Get the gain. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_7">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00744">744</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00382">_Gain</a>. </td> + </tr> +</table> +<a name="z969_1" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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_1ISource.html#z979_1">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00317">317</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00327">_Loop</a>. </td> + </tr> +</table> +<a name="z970_13" doxytag="NLSOUND::CSourceDSound::getMinMaxDistances"></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::CSourceDSound::getMinMaxDistances </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float & </td> + <td class="mdname" nowrap> <em>mindist</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float & </td> + <td class="mdname" nowrap> <em>maxdist</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the min and max distances. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_13">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00878">878</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00907">updateVolume</a>. </td> + </tr> +</table> +<a name="z970_9" doxytag="NLSOUND::CSourceDSound::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"> float NLSOUND::CSourceDSound::getPitch </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> +Get the pitch. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_9">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00778">778</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00712">format</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="buffer_8h-source.html#l00039">NLSOUND::TSampleFormat</a>. </td> + </tr> +</table> +<a name="z970_1" doxytag="NLSOUND::CSourceDSound::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"> const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & NLSOUND::CSourceDSound::getPos </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> +Get the position vector. +<p> +See <a class="el" href="classNLSOUND_1_1CSourceDSound.html#z970_0">setPos</a>() for details. +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_1">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00610">610</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00386">_Pos</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00907">updateVolume</a>. </td> + </tr> +</table> +<a name="z970_11" doxytag="NLSOUND::CSourceDSound::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"> bool NLSOUND::CSourceDSound::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> [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_1ISource.html#z980_11">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00832">832</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z969_10" doxytag="NLSOUND::CSourceDSound::getTime"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::getTime </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the number of milliseconds the source has been playing. +<p> + +<p> +Reimplemented from <a class="el" href="classNLSOUND_1_1ISource.html#z979_8">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8h-source.html#l00159">159</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, and <a class="el" href="source__dsound_8h-source.html#l00370">_SampleRate</a>. </td> + </tr> +</table> +<a name="z970_3" doxytag="NLSOUND::CSourceDSound::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"> void NLSOUND::CSourceDSound::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> [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_1ISource.html#z980_3">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00653">653</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="vector__inline_8h-source.html#l00136">NLMISC::CVector::set</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">LPDIRECTSOUND </td> + <td class="mdname1" valign="top" nowrap> <em>directSound</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> +Initialize the DirectSound buffers. Called by the sound driver only. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00168">168</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00064">_DefaultChannels</a>, <a class="el" href="source__dsound_8cpp-source.html#l00065">_DefaultSampleRate</a>, <a class="el" href="source__dsound_8cpp-source.html#l00066">_DefaultSampleSize</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00096">CSoundDriverDSound</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00712">format</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z969_7" doxytag="NLSOUND::CSourceDSound::isPaused"></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::CSourceDSound::isPaused </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 paused state. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00469">469</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, and <a class="el" href="namespaceNLSOUND.html#a85a31">NLSOUND::NL_DSOUND_PAUSED</a>. </td> + </tr> +</table> +<a name="z969_5" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the playing state. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z979_5">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00461">461</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, and <a class="el" href="namespaceNLSOUND.html#a85a30">NLSOUND::NL_DSOUND_PLAYING</a>. </td> + </tr> +</table> +<a name="z969_6" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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> const<code> [virtual]</code></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_1CSourceDSound.html#z969_3">stop</a>() has been called. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z979_6">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00477">477</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, and <a class="el" href="namespaceNLSOUND.html#a85a32">NLSOUND::NL_DSOUND_STOPPED</a>. </td> + </tr> +</table> +<a name="c12" doxytag="NLSOUND::CSourceDSound::isUsed"></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::CSourceDSound::isUsed </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, private]</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__dsound_8h-source.html#l00379">379</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00373">_IsUsed</a>. </td> + </tr> +</table> +<a name="c1" doxytag="NLSOUND::CSourceDSound::lock"></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::CSourceDSound::lock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>writePos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>size</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> *& </td> + <td class="mdname" nowrap> <em>ptr1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>DWORD & </td> + <td class="mdname" nowrap> <em>bytes1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> *& </td> + <td class="mdname" nowrap> <em>ptr2</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>DWORD & </td> + <td class="mdname" nowrap> <em>bytes2</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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__dsound_8cpp-source.html#l01096">1096</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00062">_UpdateCopySize</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>. </td> + </tr> +</table> +<a name="c10" doxytag="NLSOUND::CSourceDSound::needsUpdate"></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::CSourceDSound::needsUpdate </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> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check whether the play position has advanced enough to require an update. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00485">485</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00062">_UpdateCopySize</a>. </td> + </tr> +</table> +<a name="z969_4" doxytag="NLSOUND::CSourceDSound::pause"></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::CSourceDSound::pause </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> +Pause. Call <a class="el" href="classNLSOUND_1_1CSourceDSound.html#z969_2">play</a>() to resume. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z979_4">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00440">440</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="namespaceNLSOUND.html#a85a31">NLSOUND::NL_DSOUND_PAUSED</a>, <a class="el" href="namespaceNLSOUND.html#a85a30">NLSOUND::NL_DSOUND_PLAYING</a>, and <a class="el" href="source__dsound_8h-source.html#l00060">NLSOUND::TSourceDSoundUserState</a>. </td> + </tr> +</table> +<a name="z969_2" doxytag="NLSOUND::CSourceDSound::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"> bool NLSOUND::CSourceDSound::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 the static buffer (or stream in and play). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z979_2">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00335">335</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="source__dsound_8h-source.html#l00339">_SecondaryBufferState</a>, <a class="el" href="source__dsound_8h-source.html#l00324">_SwapBuffer</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="namespaceNLSOUND.html#a84a27">NLSOUND::NL_DSOUND_FILLING</a>, <a class="el" href="namespaceNLSOUND.html#a85a30">NLSOUND::NL_DSOUND_PLAYING</a>, <a class="el" href="namespaceNLSOUND.html#a84a29">NLSOUND::NL_DSOUND_SILENCED</a>, <a class="el" href="namespaceNLSOUND.html#a84a28">NLSOUND::NL_DSOUND_SILENCING</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00325">swap</a>. </td> + </tr> +</table> +<a name="c0" doxytag="NLSOUND::CSourceDSound::release"></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::CSourceDSound::release </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> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Release all DirectSound resources. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00143">143</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, and <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00124">~CSourceDSound</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLSOUND::CSourceDSound::reset"></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::CSourceDSound::reset </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> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00273">273</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8cpp-source.html#l00721">setGain</a>, <a class="el" href="source__dsound_8cpp-source.html#l00309">setLooping</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00752">setPitch</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NLSOUND::CSourceDSound::setAlpha"></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::CSourceDSound::setAlpha </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname1" valign="top" nowrap> <em>a</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> +Set the alpha value for the volume-distance curve. +<p> +alpha = 0.0: the volume will decrease linearly between 0dB and -100 dB alpha = 1.0: the volume will decrease linearly between 1.0 and 0.0 (linear scale) alpha = -1.0: the volume will decrease inversely with the distance (1/dist). This is the default used by DirectSound/OpenAL +<p> +For any other value of alpha, an interpolation is be done between the two adjacent curves. For example, if alpha equals 0.5, the volume will be halfway between the linear dB curve and the linear amplitude curve. +<p> +Reimplemented from <a class="el" href="classNLSOUND_1_1ISource.html#z980_17">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8h-source.html#l00257">257</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00384">_Alpha</a>. </td> + </tr> +</table> +<a name="z970_14" doxytag="NLSOUND::CSourceDSound::setCone"></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::CSourceDSound::setCone </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>innerAngle</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>outerAngle</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>outerGain</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> +Set the cone angles (in radian) and gain (in [0 , 1]) (default: 2PI, 2PI, 0) (3D mode only). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_14">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00965">965</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="common_8h-source.html#l00071">NLMISC::Pi</a>. </td> + </tr> +</table> +<a name="z970_4" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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) (default: (0,0,0) as non-directional). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_4">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00678">678</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::z</a>. </td> + </tr> +</table> +<a name="z970_16" doxytag="NLSOUND::CSourceDSound::setEAXProperty"></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::CSourceDSound::setEAXProperty </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>prop</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>value</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>valuesize</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> +Set any EAX source property if EAX available. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_16">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l01075">1075</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00318">_SourceName</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. </td> + </tr> +</table> +<a name="z970_6" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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]) (default: 1) 0.0 -> silence 0.5 -> -6dB 1.0 -> no attenuation values > 1 (amplification) not supported by most drivers. +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_6">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00721">721</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00382">_Gain</a>, <a class="el" href="source__dsound_8h-source.html#l00381">_Volume</a>, and <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00273">reset</a>. </td> + </tr> +</table> +<a name="z969_0" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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_1ISource.html#z979_0">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00309">309</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00327">_Loop</a>, and <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00273">reset</a>. </td> + </tr> +</table> +<a name="z970_12" doxytag="NLSOUND::CSourceDSound::setMinMaxDistances"></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::CSourceDSound::setMinMaxDistances </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>mindist</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>maxdist</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>deferred</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> +Set the min and max distances (default: 1, MAX_FLOAT) (3D mode only). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_12">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00856">856</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z970_8" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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_1ISource.html#z980_8">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00752">752</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00370">_SampleRate</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00712">format</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="buffer_8h-source.html#l00039">NLSOUND::TSampleFormat</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00273">reset</a>. </td> + </tr> +</table> +<a name="z970_0" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>deferred</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> +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 <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>deferred</em> </td><td> +false to apply position immediatly </td></tr> +</table> +</dl> +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_0">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00590">590</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="source__dsound_8h-source.html#l00386">_Pos</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::z</a>. </td> + </tr> +</table> +<a name="z970_10" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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_1ISource.html#z980_10">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00803">803</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z968_0" doxytag="NLSOUND::CSourceDSound::setStaticBuffer"></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::CSourceDSound::setStaticBuffer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLSOUND_1_1IBuffer.html">IBuffer</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>buffer</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 buffer that will be played (no streaming) If the buffer is stereo, the source mode becomes stereo and the source relative mode is on, otherwise the source is considered as a 3D source. +<p> +Set NULL to set "no buffer" +<p> +Reimplemented from <a class="el" href="classNLSOUND_1_1ISource.html#z978_0">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00283">283</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="source__dsound_8h-source.html#l00324">_SwapBuffer</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00417">stop</a>. </td> + </tr> +</table> +<a name="c11" doxytag="NLSOUND::CSourceDSound::setUsed"></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::CSourceDSound::setUsed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>v</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, private]</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__dsound_8h-source.html#l00376">376</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00373">_IsUsed</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="z970_2" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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="mdname" nowrap> <em>vel</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>deferred</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> +Set the velocity vector (3D mode only) (default: (0,0,0)). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z980_2">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00639">639</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00342">_3DBuffer</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::x</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::y</a>, and <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::z</a>. </td> + </tr> +</table> +<a name="c6" doxytag="NLSOUND::CSourceDSound::silence"></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::CSourceDSound::silence </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> [private]</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__dsound_8cpp-source.html#l01394">1394</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00357">_EndPosition</a>, <a class="el" href="source__dsound_8h-source.html#l00364">_EndState</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00339">_SecondaryBufferState</a>, <a class="el" href="source__dsound_8h-source.html#l00354">_SilenceWritten</a>, <a class="el" href="source__dsound_8cpp-source.html#l00062">_UpdateCopySize</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l00054">INITTIME</a>, <a class="el" href="source__dsound_8cpp-source.html#l01096">lock</a>, <a class="el" href="namespaceNLSOUND.html#a86a35">NLSOUND::NL_DSOUND_ENDED</a>, <a class="el" href="namespaceNLSOUND.html#a85a30">NLSOUND::NL_DSOUND_PLAYING</a>, <a class="el" href="namespaceNLSOUND.html#a84a29">NLSOUND::NL_DSOUND_SILENCED</a>, <a class="el" href="namespaceNLSOUND.html#a85a32">NLSOUND::NL_DSOUND_STOPPED</a>, <a class="el" href="namespaceNLSOUND.html#a86a33">NLSOUND::NL_DSOUND_TAIL1</a>, and <a class="el" href="namespaceNLSOUND.html#a86a34">NLSOUND::NL_DSOUND_TAIL2</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00526">update2</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NLSOUND::CSourceDSound::sourceName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLSOUND::CSourceDSound::sourceName </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 OpenAL source name. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8h-source.html#l00234">234</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00318">_SourceName</a>. </td> + </tr> +</table> +<a name="z969_3" doxytag="NLSOUND::CSourceDSound::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::CSourceDSound::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_1ISource.html#z979_3">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00417">417</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="source__dsound_8h-source.html#l00330">_UserState</a>, <a class="el" href="source__dsound_8cpp-source.html#l00055">DBGPOS</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="namespaceNLSOUND.html#a85a30">NLSOUND::NL_DSOUND_PLAYING</a>, <a class="el" href="namespaceNLSOUND.html#a85a32">NLSOUND::NL_DSOUND_STOPPED</a>, and <a class="el" href="source__dsound_8h-source.html#l00060">NLSOUND::TSourceDSoundUserState</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00283">setStaticBuffer</a>. </td> + </tr> +</table> +<a name="c3" doxytag="NLSOUND::CSourceDSound::swap"></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::CSourceDSound::swap </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> [private]</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__dsound_8cpp-source.html#l00325">325</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source_8h-source.html#l00167">NLSOUND::ISource::_Buffer</a>, <a class="el" href="source__dsound_8h-source.html#l00321">_BufferSize</a>, <a class="el" href="source__dsound_8h-source.html#l00351">_BytesWritten</a>, and <a class="el" href="source__dsound_8h-source.html#l00324">_SwapBuffer</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>. </td> + </tr> +</table> +<a name="c2" doxytag="NLSOUND::CSourceDSound::unlock"></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::CSourceDSound::unlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> * </td> + <td class="mdname" nowrap> <em>ptr1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>DWORD </td> + <td class="mdname" nowrap> <em>bytes1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> * </td> + <td class="mdname" nowrap> <em>ptr2</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>DWORD </td> + <td class="mdname" nowrap> <em>bytes2</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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__dsound_8cpp-source.html#l01125">1125</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>. </td> + </tr> +</table> +<a name="z969_8" doxytag="NLSOUND::CSourceDSound::update"></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::CSourceDSound::update </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> +Update the source (e.g. continue to stream the data in). +<p> + +<p> +Implements <a class="el" href="classNLSOUND_1_1ISource.html#z979_7">NLSOUND::ISource</a>. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00519">519</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8cpp-source.html#l00526">update2</a>. </td> + </tr> +</table> +<a name="z969_9" doxytag="NLSOUND::CSourceDSound::update2"></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::CSourceDSound::update2 </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> +Update the source (e.g. +<p> +continue to stream the data in) Returns an indication whether the source actually streamed data or not. +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00526">526</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00345">_CriticalSection</a>, <a class="el" href="source__dsound_8h-source.html#l00348">_NextWritePos</a>, <a class="el" href="source__dsound_8cpp-source.html#l00060">_SecondaryBufferSize</a>, <a class="el" href="source__dsound_8cpp-source.html#l00062">_UpdateCopySize</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l00054">INITTIME</a>, <a class="el" href="namespaceNLSOUND.html#a84a27">NLSOUND::NL_DSOUND_FILLING</a>, <a class="el" href="namespaceNLSOUND.html#a84a29">NLSOUND::NL_DSOUND_SILENCED</a>, <a class="el" href="namespaceNLSOUND.html#a84a28">NLSOUND::NL_DSOUND_SILENCING</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00815">res</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00519">update</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NLSOUND::CSourceDSound::updateVolume"></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::CSourceDSound::updateVolume </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>listener</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> +Update the source's volume according to its distance and fade out curve. It takes the current position of the listener as argument. +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8cpp-source.html#l00907">907</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +References <a class="el" href="source__dsound_8h-source.html#l00384">_Alpha</a>, <a class="el" href="source__dsound_8h-source.html#l00333">_SecondaryBuffer</a>, <a class="el" href="source__dsound_8h-source.html#l00381">_Volume</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="source__dsound_8cpp-source.html#l00878">getMinMaxDistances</a>, <a class="el" href="source__dsound_8cpp-source.html#l00610">getPos</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, and <a class="el" href="vector__inline_8h-source.html#l00111">NLMISC::CVector::sqrnorm</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l0" doxytag="NLSOUND::CSourceDSound::CSoundDriverDSound"></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"> friend class CSoundDriverDSound<code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="source__dsound_8h-source.html#l00096">96</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00168">init</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o7" doxytag="NLSOUND::CSourceDSound::_3DBuffer"></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"> LPDIRECTSOUND3DBUFFER NLSOUND::CSourceDSound::_3DBuffer<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__dsound_8h-source.html#l00342">342</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l01039">getCone</a>, <a class="el" href="source__dsound_8cpp-source.html#l00696">getDirection</a>, <a class="el" href="source__dsound_8cpp-source.html#l00878">getMinMaxDistances</a>, <a class="el" href="source__dsound_8cpp-source.html#l00832">getSourceRelativeMode</a>, <a class="el" href="source__dsound_8cpp-source.html#l00653">getVelocity</a>, <a class="el" href="source__dsound_8cpp-source.html#l00168">init</a>, <a class="el" href="source__dsound_8cpp-source.html#l00143">release</a>, <a class="el" href="source__dsound_8cpp-source.html#l00965">setCone</a>, <a class="el" href="source__dsound_8cpp-source.html#l00678">setDirection</a>, <a class="el" href="source__dsound_8cpp-source.html#l00856">setMinMaxDistances</a>, <a class="el" href="source__dsound_8cpp-source.html#l00590">setPos</a>, <a class="el" href="source__dsound_8cpp-source.html#l00803">setSourceRelativeMode</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00639">setVelocity</a>. </td> + </tr> +</table> +<a name="o19" doxytag="NLSOUND::CSourceDSound::_Alpha"></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"> double NLSOUND::CSourceDSound::_Alpha<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__dsound_8h-source.html#l00384">384</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8h-source.html#l00257">setAlpha</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00907">updateVolume</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NLSOUND::CSourceDSound::_BufferSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_BufferSize<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__dsound_8h-source.html#l00321">321</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>, <a class="el" href="source__dsound_8cpp-source.html#l00283">setStaticBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00325">swap</a>. </td> + </tr> +</table> +<a name="o10" doxytag="NLSOUND::CSourceDSound::_BytesWritten"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_BytesWritten<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__dsound_8h-source.html#l00351">351</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>, <a class="el" href="source__dsound_8h-source.html#l00159">getTime</a>, <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>, <a class="el" href="source__dsound_8cpp-source.html#l00283">setStaticBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>, <a class="el" href="source__dsound_8cpp-source.html#l00417">stop</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00325">swap</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NLSOUND::CSourceDSound::_CriticalSection"></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"> CRITICAL_SECTION NLSOUND::CSourceDSound::_CriticalSection<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__dsound_8h-source.html#l00345">345</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l00440">pause</a>, <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>, <a class="el" href="source__dsound_8cpp-source.html#l00283">setStaticBuffer</a>, <a class="el" href="source__dsound_8cpp-source.html#l00417">stop</a>, <a class="el" href="source__dsound_8cpp-source.html#l00526">update2</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00124">~CSourceDSound</a>. </td> + </tr> +</table> +<a name="r2" doxytag="NLSOUND::CSourceDSound::_DefaultChannels"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLSOUND::CSourceDSound::_DefaultChannels = 1<code> [static, 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__dsound_8cpp-source.html#l00064">64</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00168">init</a>. </td> + </tr> +</table> +<a name="r3" doxytag="NLSOUND::CSourceDSound::_DefaultSampleRate"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLSOUND::CSourceDSound::_DefaultSampleRate = 22050<code> [static, 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__dsound_8cpp-source.html#l00065">65</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00168">init</a>. </td> + </tr> +</table> +<a name="r4" doxytag="NLSOUND::CSourceDSound::_DefaultSampleSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLSOUND::CSourceDSound::_DefaultSampleSize = 16<code> [static, 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__dsound_8cpp-source.html#l00066">66</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00168">init</a>. </td> + </tr> +</table> +<a name="o12" doxytag="NLSOUND::CSourceDSound::_EndPosition"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_EndPosition<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__dsound_8h-source.html#l00357">357</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>. </td> + </tr> +</table> +<a name="o13" doxytag="NLSOUND::CSourceDSound::_EndState"></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#a86">TSourceDSoundEndState</a> NLSOUND::CSourceDSound::_EndState<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__dsound_8h-source.html#l00364">364</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>. </td> + </tr> +</table> +<a name="o14" doxytag="NLSOUND::CSourceDSound::_Freq"></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::CSourceDSound::_Freq<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__dsound_8h-source.html#l00367">367</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, and <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>. </td> + </tr> +</table> +<a name="o18" doxytag="NLSOUND::CSourceDSound::_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::CSourceDSound::_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__dsound_8h-source.html#l00382">382</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l00744">getGain</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00721">setGain</a>. </td> + </tr> +</table> +<a name="o16" doxytag="NLSOUND::CSourceDSound::_IsUsed"></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::CSourceDSound::_IsUsed<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__dsound_8h-source.html#l00373">373</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8h-source.html#l00379">isUsed</a>, and <a class="el" href="source__dsound_8h-source.html#l00376">setUsed</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NLSOUND::CSourceDSound::_Loop"></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::CSourceDSound::_Loop<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__dsound_8h-source.html#l00327">327</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l00317">getLooping</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00309">setLooping</a>. </td> + </tr> +</table> +<a name="o9" doxytag="NLSOUND::CSourceDSound::_NextWritePos"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_NextWritePos<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__dsound_8h-source.html#l00348">348</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>, <a class="el" href="source__dsound_8cpp-source.html#l01096">lock</a>, <a class="el" href="source__dsound_8cpp-source.html#l00485">needsUpdate</a>, <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00526">update2</a>. </td> + </tr> +</table> +<a name="o20" doxytag="NLSOUND::CSourceDSound::_Pos"></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::CSourceDSound::_Pos<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__dsound_8h-source.html#l00386">386</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00610">getPos</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00590">setPos</a>. </td> + </tr> +</table> +<a name="o15" doxytag="NLSOUND::CSourceDSound::_SampleRate"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_SampleRate<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__dsound_8h-source.html#l00370">370</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8h-source.html#l00159">getTime</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00752">setPitch</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NLSOUND::CSourceDSound::_SecondaryBuffer"></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"> LPDIRECTSOUNDBUFFER NLSOUND::CSourceDSound::_SecondaryBuffer<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__dsound_8h-source.html#l00333">333</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l00778">getPitch</a>, <a class="el" href="source__dsound_8cpp-source.html#l00168">init</a>, <a class="el" href="source__dsound_8cpp-source.html#l01096">lock</a>, <a class="el" href="source__dsound_8cpp-source.html#l00485">needsUpdate</a>, <a class="el" href="source__dsound_8cpp-source.html#l00143">release</a>, <a class="el" href="source__dsound_8cpp-source.html#l00752">setPitch</a>, <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>, <a class="el" href="source__dsound_8cpp-source.html#l01125">unlock</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00907">updateVolume</a>. </td> + </tr> +</table> +<a name="r6" doxytag="NLSOUND::CSourceDSound::_SecondaryBufferSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_SecondaryBufferSize = 65536<code> [static, 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__dsound_8cpp-source.html#l00060">60</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>, <a class="el" href="source__dsound_8cpp-source.html#l00168">init</a>, <a class="el" href="source__dsound_8cpp-source.html#l00485">needsUpdate</a>, <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00526">update2</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NLSOUND::CSourceDSound::_SecondaryBufferState"></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#a84">TSourceDSoundBufferState</a> NLSOUND::CSourceDSound::_SecondaryBufferState<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__dsound_8h-source.html#l00339">339</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>. </td> + </tr> +</table> +<a name="o11" doxytag="NLSOUND::CSourceDSound::_SilenceWritten"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_SilenceWritten<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__dsound_8h-source.html#l00354">354</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NLSOUND::CSourceDSound::_SourceName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLSOUND::CSourceDSound::_SourceName<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__dsound_8h-source.html#l00318">318</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01075">setEAXProperty</a>, and <a class="el" href="source__dsound_8h-source.html#l00234">sourceName</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NLSOUND::CSourceDSound::_SwapBuffer"></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::CSourceDSound::_SwapBuffer<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__dsound_8h-source.html#l00324">324</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>, <a class="el" href="source__dsound_8cpp-source.html#l00283">setStaticBuffer</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00325">swap</a>. </td> + </tr> +</table> +<a name="r1" doxytag="NLSOUND::CSourceDSound::_SwapCopySize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_SwapCopySize = 32768<code> [static, 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__dsound_8cpp-source.html#l00061">61</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01618">crossFade</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, and <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>. </td> + </tr> +</table> +<a name="r0" doxytag="NLSOUND::CSourceDSound::_UpdateCopySize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_UpdateCopySize = 16384<code> [static, 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__dsound_8cpp-source.html#l00062">62</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l01096">lock</a>, <a class="el" href="source__dsound_8cpp-source.html#l00485">needsUpdate</a>, <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00526">update2</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NLSOUND::CSourceDSound::_UserState"></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#a85">TSourceDSoundUserState</a> NLSOUND::CSourceDSound::_UserState<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__dsound_8h-source.html#l00330">330</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l02065">fadeIn</a>, <a class="el" href="source__dsound_8cpp-source.html#l01881">fadeOut</a>, <a class="el" href="source__dsound_8cpp-source.html#l01186">fill</a>, <a class="el" href="source__dsound_8cpp-source.html#l00469">isPaused</a>, <a class="el" href="source__dsound_8cpp-source.html#l00461">isPlaying</a>, <a class="el" href="source__dsound_8cpp-source.html#l00477">isStopped</a>, <a class="el" href="source__dsound_8cpp-source.html#l00440">pause</a>, <a class="el" href="source__dsound_8cpp-source.html#l00335">play</a>, <a class="el" href="source__dsound_8cpp-source.html#l01394">silence</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00417">stop</a>. </td> + </tr> +</table> +<a name="o17" doxytag="NLSOUND::CSourceDSound::_Volume"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a10">sint32</a> NLSOUND::CSourceDSound::_Volume<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__dsound_8h-source.html#l00381">381</a> of file <a class="el" href="source__dsound_8h-source.html">source_dsound.h</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l00098">CSourceDSound</a>, <a class="el" href="source__dsound_8cpp-source.html#l00721">setGain</a>, and <a class="el" href="source__dsound_8cpp-source.html#l00907">updateVolume</a>. </td> + </tr> +</table> +<a name="r5" doxytag="NLSOUND::CSourceDSound::_XFadeSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLSOUND::CSourceDSound::_XFadeSize = 64<code> [static, 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__dsound_8cpp-source.html#l00063">63</a> of file <a class="el" href="source__dsound_8cpp-source.html">source_dsound.cpp</a>. +<p> +Referenced by <a class="el" href="source__dsound_8cpp-source.html#l01524">getFadeOutSize</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="source__dsound_8h-source.html">source_dsound.h</a><li><a class="el" href="source__dsound_8cpp-source.html">source_dsound.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> |