aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02768.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02768.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02768.html602
1 files changed, 602 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02768.html b/docs/doxygen/nel/a02768.html
new file mode 100644
index 00000000..cb5d8bb4
--- /dev/null
+++ b/docs/doxygen/nel/a02768.html
@@ -0,0 +1,602 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NLSOUND::CListenerUser class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLSOUND::CListenerUser Class Reference</h1><code>#include &lt;<a class="el" href="a05922.html">listener_user.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLSOUND::CListenerUser:
+<p><center><img src="a02768.png" usemap="#NLSOUND::CListenerUser_map" border="0" alt=""></center>
+<map name="NLSOUND::CListenerUser_map">
+<area href="a03933.html" alt="NLSOUND::UListener" shape="rect" coords="0,0,158,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Implementation of <a class="el" href="a03933.html">UListener</a><p>
+This implementation does not check if the properties have changed or not. Therefore it is suggested to test them and not to call the set methods if there is no change.<p>
+<dl compact><dt><b>Author:</b></dt><dd>Olivier Cado <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05922.html#l00049">49</a> of file <a class="el" href="a05922.html">listener_user.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUsera0">CListenerUser</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NLSOUND_1_1CListenerUsera0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03861.html">IListener</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUsera1">getListener</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Direct access granted to the audio mixer. <a href="#NLSOUND_1_1CListenerUsera1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUsera2">init</a> (<a class="el" href="a03419.html">ISoundDriver</a> *sd)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Init. <a href="#NLSOUND_1_1CListenerUsera2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUsera3">~CListenerUser</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#NLSOUND_1_1CListenerUsera3"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Listener properties</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_0">getGain</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the gain. <a href="#NLSOUND_1_1CListenerUserz1336_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_1">getOrientation</a> (<a class="el" href="a03128.html">NLMISC::CVector</a> &amp;front, <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;up) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the orientation vectors. <a href="#NLSOUND_1_1CListenerUserz1336_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_2">getPos</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_3">getVelocity</a> (<a class="el" href="a03128.html">NLMISC::CVector</a> &amp;vel) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the velocity vector. <a href="#NLSOUND_1_1CListenerUserz1336_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_4">setGain</a> (float gain)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_5">setOrientation</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;front, const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;up)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the orientation vectors (3D mode only, ignored in stereo mode) (default: (0,1,0), (0,0,1) ). <a href="#NLSOUND_1_1CListenerUserz1336_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_6">setPos</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;pos)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the position vector (default: (0,0,0)) (3D mode only). <a href="#NLSOUND_1_1CListenerUserz1336_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_7">setVelocity</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;vel)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)). <a href="#NLSOUND_1_1CListenerUserz1336_7"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03861.html">IListener</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Listener property. <a href="#NLSOUND_1_1CListenerUserr0"></a><br><br></td></tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLSOUND_1_1CListenerUsera0" doxytag="NLSOUND::CListenerUser::CListenerUser" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLSOUND::CListenerUser::CListenerUser </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05922.html#l00054">54</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>.
+<p>
+<div class="fragment"><pre>00054 : <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a> (NULL) {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUsera3" doxytag="NLSOUND::CListenerUser::~CListenerUser" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual NLSOUND::CListenerUser::~<a class="el" href="a02768.html">CListenerUser</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Destructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05922.html#l00058">58</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>.
+<p>
+<div class="fragment"><pre>00058 { <span class="keywordflow">if</span> ( <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>!=NULL ) <span class="keyword">delete</span> <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_0" doxytag="NLSOUND::CListenerUser::getGain" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual float NLSOUND::CListenerUser::getGain </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the gain.
+<p>
+
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_0">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05922.html#l00087">87</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_0">NLSOUND::IListener::getGain()</a>.
+<p>
+<div class="fragment"><pre>00087 { <span class="keywordflow">return</span> <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;getGain(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUsera1" doxytag="NLSOUND::CListenerUser::getListener" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03861.html">IListener</a>* NLSOUND::CListenerUser::getListener </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Direct access granted to the audio mixer.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05922.html#l00092">92</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>.
+<p>
+<div class="fragment"><pre>00092 { <span class="keywordflow">return</span> <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_1" doxytag="NLSOUND::CListenerUser::getOrientation" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NLSOUND::CListenerUser::getOrientation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>front</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>up</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the orientation vectors.
+<p>
+
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_1">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05922.html#l00077">77</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_1">NLSOUND::IListener::getOrientation()</a>.
+<p>
+Referenced by <a class="el" href="a05465.html#l01268">NLSOUND::CAudioMixerUser::update()</a>.
+<p>
+<div class="fragment"><pre>00078 { <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;getOrientation( front, up ); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_2" doxytag="NLSOUND::CListenerUser::getPos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual const <a class="el" href="a03128.html">NLMISC::CVector</a>&amp; NLSOUND::CListenerUser::getPos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the position vector. See <a class="el" href="a02768.html#NLSOUND_1_1CListenerUserz1336_6">setPos()</a> for details.
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_2">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05922.html#l00068">68</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_2">NLSOUND::IListener::getPos()</a>.
+<p>
+<div class="fragment"><pre>00068 { <span class="keywordflow">return</span> <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;getPos(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_3" doxytag="NLSOUND::CListenerUser::getVelocity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NLSOUND::CListenerUser::getVelocity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vel</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the velocity vector.
+<p>
+
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_3">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05922.html#l00072">72</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_3">NLSOUND::IListener::getVelocity()</a>.
+<p>
+<div class="fragment"><pre>00072 { <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;getVelocity( vel ); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUsera2" doxytag="NLSOUND::CListenerUser::init" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CListenerUser::init </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03419.html">ISoundDriver</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>sd</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Init.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05922.html#l00056">56</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, <a class="el" href="a03419.html#NLSOUND_1_1ISoundDrivera3">NLSOUND::ISoundDriver::createListener()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>.
+<p>
+Referenced by <a class="el" href="a05465.html#l00358">NLSOUND::CAudioMixerUser::init()</a>.
+<p>
+<div class="fragment"><pre>00056 { <a class="code" href="a04199.html#a6">nlassert</a>( sd ); <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a> = sd-&gt;createListener(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_4" doxytag="NLSOUND::CListenerUser::setGain" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NLSOUND::CListenerUser::setGain </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>gain</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the gain (volume value inside [0 , 1]). (default: 1) 0.0 -&gt; silence 0.5 -&gt; -6dB 1.0 -&gt; no attenuation values &gt; 1 (amplification) not supported by most drivers
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_4">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05922.html#l00085">85</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_4">NLSOUND::IListener::setGain()</a>.
+<p>
+<div class="fragment"><pre>00085 { <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;setGain( gain ); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_5" doxytag="NLSOUND::CListenerUser::setOrientation" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NLSOUND::CListenerUser::setOrientation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>front</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>up</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the orientation vectors (3D mode only, ignored in stereo mode) (default: (0,1,0), (0,0,1) ).
+<p>
+
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_5">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05922.html#l00074">74</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_5">NLSOUND::IListener::setOrientation()</a>.
+<p>
+<div class="fragment"><pre>00075 { <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;setOrientation( front, up ); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_6" doxytag="NLSOUND::CListenerUser::setPos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLSOUND::CListenerUser::setPos </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>pos</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the position vector (default: (0,0,0)) (3D mode only).
+<p>
+
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_6">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05921.html#l00038">38</a> of file <a class="el" href="a05921.html">listener_user.cpp</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_6">NLSOUND::IListener::setPos()</a>.
+<p>
+Referenced by <a class="el" href="a05465.html#l01983">NLSOUND::CAudioMixerUser::setListenerPos()</a>.
+<p>
+<div class="fragment"><pre>00039 {
+00040 <span class="comment">// Change position</span>
+00041 <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;setPos( pos );
+00042
+00043 <span class="comment">// Select environment effect</span>
+00044 CAudioMixerUser::instance()-&gt;applyListenerMove( pos );
+00045 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLSOUND_1_1CListenerUserz1336_7" doxytag="NLSOUND::CListenerUser::setVelocity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NLSOUND::CListenerUser::setVelocity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vel</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the velocity vector (3D mode only, ignored in stereo mode) (default: (0,0,0)).
+<p>
+
+<p>
+Implements <a class="el" href="a03933.html#NLSOUND_1_1UListenerz2135_7">NLSOUND::UListener</a>.
+<p>
+Definition at line <a class="el" href="a05922.html#l00070">70</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+References <a class="el" href="a05922.html#l00097">_DrvListener</a>, and <a class="el" href="a03861.html#NLSOUND_1_1IListenerz1316_7">NLSOUND::IListener::setVelocity()</a>.
+<p>
+<div class="fragment"><pre>00070 { <a class="code" href="a02768.html#NLSOUND_1_1CListenerUserr0">_DrvListener</a>-&gt;setVelocity( vel ); }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLSOUND_1_1CListenerUserr0" doxytag="NLSOUND::CListenerUser::_DrvListener" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03861.html">IListener</a>* <a class="el" href="a02768.html#NLSOUND_1_1CListenerUserr0">NLSOUND::CListenerUser::_DrvListener</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Listener property.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05922.html#l00097">97</a> of file <a class="el" href="a05922.html">listener_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05922.html#l00054">CListenerUser()</a>, <a class="el" href="a05922.html#l00087">getGain()</a>, <a class="el" href="a05922.html#l00092">getListener()</a>, <a class="el" href="a05922.html#l00077">getOrientation()</a>, <a class="el" href="a05922.html#l00068">getPos()</a>, <a class="el" href="a05922.html#l00072">getVelocity()</a>, <a class="el" href="a05922.html#l00056">init()</a>, <a class="el" href="a05922.html#l00085">setGain()</a>, <a class="el" href="a05922.html#l00074">setOrientation()</a>, <a class="el" href="a05921.html#l00038">setPos()</a>, <a class="el" href="a05922.html#l00070">setVelocity()</a>, and <a class="el" href="a05922.html#l00058">~CListenerUser()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05922.html">listener_user.h</a><li><a class="el" href="a05921.html">listener_user.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:39:31 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>