diff options
Diffstat (limited to 'doc/html/SoundBuffer_8hpp-source.htm')
-rwxr-xr-x | doc/html/SoundBuffer_8hpp-source.htm | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/doc/html/SoundBuffer_8hpp-source.htm b/doc/html/SoundBuffer_8hpp-source.htm index 28d4567..1eb96d6 100755 --- a/doc/html/SoundBuffer_8hpp-source.htm +++ b/doc/html/SoundBuffer_8hpp-source.htm @@ -10,19 +10,25 @@ <div id="logo"> <img src="./logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" /> </div> -<!-- Generated by Doxygen 1.5.2 --> -<div class="tabs"> - <ul> - <li><a href="index.htm"><span>Main Page</span></a></li> - <li><a href="namespaces.htm"><span>Namespaces</span></a></li> - <li><a href="classes.htm"><span>Classes</span></a></li> - <li class="current"><a href="files.htm"><span>Files</span></a></li> - </ul> -</div> +<!-- Generated by Doxygen 1.5.8 --> +<div class="navigation" id="top"> + <div class="tabs"> + <ul> + <li><a href="index.htm"><span>Main Page</span></a></li> + <li><a href="namespaces.htm"><span>Namespaces</span></a></li> + <li><a href="annotated.htm"><span>Classes</span></a></li> + <li class="current"><a href="files.htm"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="files.htm"><span>File List</span></a></li> + </ul> + </div> <h1>SoundBuffer.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <a name="l00002"></a>00002 <span class="comment">//</span> <a name="l00003"></a>00003 <span class="comment">// SFML - Simple and Fast Multimedia Library</span> -<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2007-2008 Laurent Gomila (laurent.gom@gmail.com)</span> +<a name="l00004"></a>00004 <span class="comment">// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)</span> <a name="l00005"></a>00005 <span class="comment">//</span> <a name="l00006"></a>00006 <span class="comment">// This software is provided 'as-is', without any express or implied warranty.</span> <a name="l00007"></a>00007 <span class="comment">// In no event will the authors be held liable for any damages arising from the use of this software.</span> @@ -54,15 +60,15 @@ <a name="l00036"></a>00036 <a name="l00037"></a>00037 <span class="keyword">namespace </span>sf <a name="l00038"></a>00038 { -<a name="l00043"></a><a class="code" href="classsf_1_1SoundBuffer.htm">00043</a> <span class="keyword">class </span>SFML_API SoundBuffer : <span class="keyword">public</span> <a class="code" href="classsf_1_1AudioResource.htm" title="Abstract base class for every class that owns a device-dependant resource -- allow...">AudioResource</a>, <span class="keyword">public</span> <a class="code" href="classsf_1_1Resource.htm" title="Base class for every resource that needs to notify dependent classes about its destruction...">Resource</a><SoundBuffer> +<a name="l00043"></a><a class="code" href="classsf_1_1SoundBuffer.htm">00043</a> <span class="keyword">class </span>SFML_API <a class="code" href="classsf_1_1SoundBuffer.htm" title="SoundBuffer is the low-level for loading and manipulating sound buffers.">SoundBuffer</a> : <span class="keyword">public</span> <a class="code" href="classsf_1_1AudioResource.htm" title="Abstract base class for every class that owns a device-dependant resource -- allow...">AudioResource</a>, <span class="keyword">public</span> <a class="code" href="classsf_1_1Resource.htm" title="Base class for every resource that needs to notify dependent classes about its destruction...">Resource</a><SoundBuffer> <a name="l00044"></a>00044 { <a name="l00045"></a>00045 <span class="keyword">public</span> : <a name="l00046"></a>00046 -<a name="l00051"></a>00051 SoundBuffer(); +<a name="l00051"></a>00051 <a class="code" href="classsf_1_1SoundBuffer.htm" title="SoundBuffer is the low-level for loading and manipulating sound buffers.">SoundBuffer</a>(); <a name="l00052"></a>00052 -<a name="l00059"></a>00059 SoundBuffer(<span class="keyword">const</span> SoundBuffer& Copy); +<a name="l00059"></a>00059 <a class="code" href="classsf_1_1SoundBuffer.htm" title="SoundBuffer is the low-level for loading and manipulating sound buffers.">SoundBuffer</a>(<span class="keyword">const</span> <a class="code" href="classsf_1_1SoundBuffer.htm" title="SoundBuffer is the low-level for loading and manipulating sound buffers.">SoundBuffer</a>& Copy); <a name="l00060"></a>00060 -<a name="l00065"></a>00065 ~SoundBuffer(); +<a name="l00065"></a>00065 ~<a class="code" href="classsf_1_1SoundBuffer.htm" title="SoundBuffer is the low-level for loading and manipulating sound buffers.">SoundBuffer</a>(); <a name="l00066"></a>00066 <a name="l00075"></a>00075 <span class="keywordtype">bool</span> LoadFromFile(<span class="keyword">const</span> std::string& Filename); <a name="l00076"></a>00076 @@ -82,11 +88,11 @@ <a name="l00143"></a>00143 <a name="l00150"></a>00150 <span class="keywordtype">float</span> GetDuration() <span class="keyword">const</span>; <a name="l00151"></a>00151 -<a name="l00160"></a>00160 SoundBuffer& operator =(<span class="keyword">const</span> SoundBuffer& Other); +<a name="l00160"></a>00160 <a class="code" href="classsf_1_1SoundBuffer.htm" title="SoundBuffer is the low-level for loading and manipulating sound buffers.">SoundBuffer</a>& operator =(<span class="keyword">const</span> <a class="code" href="classsf_1_1SoundBuffer.htm" title="SoundBuffer is the low-level for loading and manipulating sound buffers.">SoundBuffer</a>& Other); <a name="l00161"></a>00161 <a name="l00162"></a>00162 <span class="keyword">private</span> : <a name="l00163"></a>00163 -<a name="l00164"></a><a class="code" href="classsf_1_1SoundBuffer.htm#50914f77c7cf4fb97616c898c5291f4b">00164</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classsf_1_1Sound.htm" title="Sound defines the properties of a sound such as position, volume, pitch, etc.">Sound</a>; +<a name="l00164"></a>00164 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classsf_1_1Sound.htm" title="Sound defines the properties of a sound such as position, volume, pitch, etc.">Sound</a>; <a name="l00165"></a>00165 <a name="l00175"></a>00175 <span class="keywordtype">bool</span> Update(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ChannelsCount, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> SampleRate); <a name="l00176"></a>00176 @@ -100,7 +106,8 @@ <a name="l00186"></a>00186 <a name="l00187"></a>00187 <a name="l00188"></a>00188 <span class="preprocessor">#endif // SFML_SOUNDBUFFER_HPP</span> -</pre></div> +</pre></div></div> + <p id="footer"> :: Copyright © 2007-2008 Laurent Gomila, all rights reserved :: Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> :: |