390 lines
22 KiB
HTML
390 lines
22 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<title>SFML - Simple and Fast Multimedia Library</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html;"/>
|
||
|
<meta charset="utf-8"/>
|
||
|
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
|
||
|
<link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="banner-container">
|
||
|
<div id="banner">
|
||
|
<span id="sfml">SFML 2.5.1</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="content">
|
||
|
<!-- Generated by Doxygen 1.8.14 -->
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><b>sf</b></li><li class="navelem"><a class="el" href="classsf_1_1SoundFileFactory.html">SoundFileFactory</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#nested-classes">Classes</a> |
|
||
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
||
|
<a href="classsf_1_1SoundFileFactory-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">sf::SoundFileFactory Class Reference<div class="ingroups"><a class="el" href="group__audio.html">Audio module</a></div></div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Manages and instantiates sound file readers and writers.
|
||
|
<a href="classsf_1_1SoundFileFactory.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="SoundFileFactory_8hpp_source.html">SoundFileFactory.hpp</a>></code></p>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
||
|
Static Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:aeee396bfdbb6ac24c57e5c73c30ec105"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
|
<tr class="memitem:aeee396bfdbb6ac24c57e5c73c30ec105"><td class="memTemplItemLeft" align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#aeee396bfdbb6ac24c57e5c73c30ec105">registerReader</a> ()</td></tr>
|
||
|
<tr class="memdesc:aeee396bfdbb6ac24c57e5c73c30ec105"><td class="mdescLeft"> </td><td class="mdescRight">Register a new reader. <a href="#aeee396bfdbb6ac24c57e5c73c30ec105">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aeee396bfdbb6ac24c57e5c73c30ec105"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac42f01faf678d1f410e1ce8a18e4cebb"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
|
<tr class="memitem:ac42f01faf678d1f410e1ce8a18e4cebb"><td class="memTemplItemLeft" align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#ac42f01faf678d1f410e1ce8a18e4cebb">unregisterReader</a> ()</td></tr>
|
||
|
<tr class="memdesc:ac42f01faf678d1f410e1ce8a18e4cebb"><td class="mdescLeft"> </td><td class="mdescRight">Unregister a reader. <a href="#ac42f01faf678d1f410e1ce8a18e4cebb">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ac42f01faf678d1f410e1ce8a18e4cebb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abb6e082ea3fedf22c8648113d1be5755"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
|
<tr class="memitem:abb6e082ea3fedf22c8648113d1be5755"><td class="memTemplItemLeft" align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#abb6e082ea3fedf22c8648113d1be5755">registerWriter</a> ()</td></tr>
|
||
|
<tr class="memdesc:abb6e082ea3fedf22c8648113d1be5755"><td class="mdescLeft"> </td><td class="mdescRight">Register a new writer. <a href="#abb6e082ea3fedf22c8648113d1be5755">More...</a><br /></td></tr>
|
||
|
<tr class="separator:abb6e082ea3fedf22c8648113d1be5755"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1bd8ebd264a5ec33962a9f7a8ca21a60"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
|
<tr class="memitem:a1bd8ebd264a5ec33962a9f7a8ca21a60"><td class="memTemplItemLeft" align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#a1bd8ebd264a5ec33962a9f7a8ca21a60">unregisterWriter</a> ()</td></tr>
|
||
|
<tr class="memdesc:a1bd8ebd264a5ec33962a9f7a8ca21a60"><td class="mdescLeft"> </td><td class="mdescRight">Unregister a writer. <a href="#a1bd8ebd264a5ec33962a9f7a8ca21a60">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a1bd8ebd264a5ec33962a9f7a8ca21a60"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af0a87110e0b8a77aada17b22a016c066"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classsf_1_1SoundFileReader.html">SoundFileReader</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#af0a87110e0b8a77aada17b22a016c066">createReaderFromFilename</a> (const std::string &filename)</td></tr>
|
||
|
<tr class="memdesc:af0a87110e0b8a77aada17b22a016c066"><td class="mdescLeft"> </td><td class="mdescRight">Instantiate the right reader for the given file on disk. <a href="#af0a87110e0b8a77aada17b22a016c066">More...</a><br /></td></tr>
|
||
|
<tr class="separator:af0a87110e0b8a77aada17b22a016c066"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aee7a0ff1eace98d5325eaadc7d26d50c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classsf_1_1SoundFileReader.html">SoundFileReader</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#aee7a0ff1eace98d5325eaadc7d26d50c">createReaderFromMemory</a> (const void *data, std::size_t sizeInBytes)</td></tr>
|
||
|
<tr class="memdesc:aee7a0ff1eace98d5325eaadc7d26d50c"><td class="mdescLeft"> </td><td class="mdescRight">Instantiate the right codec for the given file in memory. <a href="#aee7a0ff1eace98d5325eaadc7d26d50c">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aee7a0ff1eace98d5325eaadc7d26d50c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8d4b1f225b72a128ddba3be22f7ba5a2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classsf_1_1SoundFileReader.html">SoundFileReader</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#a8d4b1f225b72a128ddba3be22f7ba5a2">createReaderFromStream</a> (<a class="el" href="classsf_1_1InputStream.html">InputStream</a> &stream)</td></tr>
|
||
|
<tr class="memdesc:a8d4b1f225b72a128ddba3be22f7ba5a2"><td class="mdescLeft"> </td><td class="mdescRight">Instantiate the right codec for the given file in stream. <a href="#a8d4b1f225b72a128ddba3be22f7ba5a2">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8d4b1f225b72a128ddba3be22f7ba5a2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0702eb2e8a4a171ba80c7fbd04c4defc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classsf_1_1SoundFileWriter.html">SoundFileWriter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classsf_1_1SoundFileFactory.html#a0702eb2e8a4a171ba80c7fbd04c4defc">createWriterFromFilename</a> (const std::string &filename)</td></tr>
|
||
|
<tr class="memdesc:a0702eb2e8a4a171ba80c7fbd04c4defc"><td class="mdescLeft"> </td><td class="mdescRight">Instantiate the right writer for the given file on disk. <a href="#a0702eb2e8a4a171ba80c7fbd04c4defc">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a0702eb2e8a4a171ba80c7fbd04c4defc"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Manages and instantiates sound file readers and writers. </p>
|
||
|
<p>This class is where all the sound file readers and writers are registered.</p>
|
||
|
<p>You should normally only need to use its registration and unregistration functions; readers/writers creation and manipulation are wrapped into the higher-level classes <a class="el" href="classsf_1_1InputSoundFile.html" title="Provide read access to sound files. ">sf::InputSoundFile</a> and <a class="el" href="classsf_1_1OutputSoundFile.html" title="Provide write access to sound files. ">sf::OutputSoundFile</a>.</p>
|
||
|
<p>To register a new reader (writer) use the <a class="el" href="classsf_1_1SoundFileFactory.html#aeee396bfdbb6ac24c57e5c73c30ec105" title="Register a new reader. ">sf::SoundFileFactory::registerReader</a> (registerWriter) static function. You don't have to call the unregisterReader (unregisterWriter) function, unless you want to unregister a format before your application ends (typically, when a plugin is unloaded).</p>
|
||
|
<p>Usage example: </p><div class="fragment"><div class="line">sf::SoundFileFactory::registerReader<MySoundFileReader>();</div><div class="line">sf::SoundFileFactory::registerWriter<MySoundFileWriter>();</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1InputSoundFile.html" title="Provide read access to sound files. ">sf::InputSoundFile</a>, <a class="el" href="classsf_1_1OutputSoundFile.html" title="Provide write access to sound files. ">sf::OutputSoundFile</a>, <a class="el" href="classsf_1_1SoundFileReader.html" title="Abstract base class for sound file decoding. ">sf::SoundFileReader</a>, <a class="el" href="classsf_1_1SoundFileWriter.html" title="Abstract base class for sound file encoding. ">sf::SoundFileWriter</a> </dd></dl>
|
||
|
|
||
|
<p class="definition">Definition at line <a class="el" href="SoundFileFactory_8hpp_source.html#l00046">46</a> of file <a class="el" href="SoundFileFactory_8hpp_source.html">SoundFileFactory.hpp</a>.</p>
|
||
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a id="af0a87110e0b8a77aada17b22a016c066"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#af0a87110e0b8a77aada17b22a016c066">◆ </a></span>createReaderFromFilename()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="classsf_1_1SoundFileReader.html">SoundFileReader</a>* sf::SoundFileFactory::createReaderFromFilename </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::string & </td>
|
||
|
<td class="paramname"><em>filename</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Instantiate the right reader for the given file on disk. </p>
|
||
|
<p>It's up to the caller to release the returned reader</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">filename</td><td>Path of the sound file</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>A new sound file reader that can read the given file, or null if no reader can handle it</dd></dl>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1SoundFileFactory.html#aee7a0ff1eace98d5325eaadc7d26d50c" title="Instantiate the right codec for the given file in memory. ">createReaderFromMemory</a>, <a class="el" href="classsf_1_1SoundFileFactory.html#a8d4b1f225b72a128ddba3be22f7ba5a2" title="Instantiate the right codec for the given file in stream. ">createReaderFromStream</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="aee7a0ff1eace98d5325eaadc7d26d50c"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#aee7a0ff1eace98d5325eaadc7d26d50c">◆ </a></span>createReaderFromMemory()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="classsf_1_1SoundFileReader.html">SoundFileReader</a>* sf::SoundFileFactory::createReaderFromMemory </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const void * </td>
|
||
|
<td class="paramname"><em>data</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::size_t </td>
|
||
|
<td class="paramname"><em>sizeInBytes</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Instantiate the right codec for the given file in memory. </p>
|
||
|
<p>It's up to the caller to release the returned reader</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">data</td><td>Pointer to the file data in memory </td></tr>
|
||
|
<tr><td class="paramname">sizeInBytes</td><td>Total size of the file data, in bytes</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>A new sound file codec that can read the given file, or null if no codec can handle it</dd></dl>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1SoundFileFactory.html#af0a87110e0b8a77aada17b22a016c066" title="Instantiate the right reader for the given file on disk. ">createReaderFromFilename</a>, <a class="el" href="classsf_1_1SoundFileFactory.html#a8d4b1f225b72a128ddba3be22f7ba5a2" title="Instantiate the right codec for the given file in stream. ">createReaderFromStream</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a8d4b1f225b72a128ddba3be22f7ba5a2"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a8d4b1f225b72a128ddba3be22f7ba5a2">◆ </a></span>createReaderFromStream()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="classsf_1_1SoundFileReader.html">SoundFileReader</a>* sf::SoundFileFactory::createReaderFromStream </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classsf_1_1InputStream.html">InputStream</a> & </td>
|
||
|
<td class="paramname"><em>stream</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Instantiate the right codec for the given file in stream. </p>
|
||
|
<p>It's up to the caller to release the returned reader</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">stream</td><td>Source stream to read from</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>A new sound file codec that can read the given file, or null if no codec can handle it</dd></dl>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1SoundFileFactory.html#af0a87110e0b8a77aada17b22a016c066" title="Instantiate the right reader for the given file on disk. ">createReaderFromFilename</a>, <a class="el" href="classsf_1_1SoundFileFactory.html#aee7a0ff1eace98d5325eaadc7d26d50c" title="Instantiate the right codec for the given file in memory. ">createReaderFromMemory</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a0702eb2e8a4a171ba80c7fbd04c4defc"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a0702eb2e8a4a171ba80c7fbd04c4defc">◆ </a></span>createWriterFromFilename()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="classsf_1_1SoundFileWriter.html">SoundFileWriter</a>* sf::SoundFileFactory::createWriterFromFilename </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::string & </td>
|
||
|
<td class="paramname"><em>filename</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Instantiate the right writer for the given file on disk. </p>
|
||
|
<p>It's up to the caller to release the returned writer</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">filename</td><td>Path of the sound file</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>A new sound file writer that can write given file, or null if no writer can handle it </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="aeee396bfdbb6ac24c57e5c73c30ec105"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#aeee396bfdbb6ac24c57e5c73c30ec105">◆ </a></span>registerReader()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<div class="memtemplate">
|
||
|
template<typename T > </div>
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void sf::SoundFileFactory::registerReader </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Register a new reader. </p>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1SoundFileFactory.html#ac42f01faf678d1f410e1ce8a18e4cebb" title="Unregister a reader. ">unregisterReader</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="abb6e082ea3fedf22c8648113d1be5755"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#abb6e082ea3fedf22c8648113d1be5755">◆ </a></span>registerWriter()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<div class="memtemplate">
|
||
|
template<typename T > </div>
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void sf::SoundFileFactory::registerWriter </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Register a new writer. </p>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1SoundFileFactory.html#a1bd8ebd264a5ec33962a9f7a8ca21a60" title="Unregister a writer. ">unregisterWriter</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="ac42f01faf678d1f410e1ce8a18e4cebb"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#ac42f01faf678d1f410e1ce8a18e4cebb">◆ </a></span>unregisterReader()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<div class="memtemplate">
|
||
|
template<typename T > </div>
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void sf::SoundFileFactory::unregisterReader </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Unregister a reader. </p>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1SoundFileFactory.html#aeee396bfdbb6ac24c57e5c73c30ec105" title="Register a new reader. ">registerReader</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a1bd8ebd264a5ec33962a9f7a8ca21a60"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a1bd8ebd264a5ec33962a9f7a8ca21a60">◆ </a></span>unregisterWriter()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<div class="memtemplate">
|
||
|
template<typename T > </div>
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void sf::SoundFileFactory::unregisterWriter </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Unregister a writer. </p>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classsf_1_1SoundFileFactory.html#abb6e082ea3fedf22c8648113d1be5755" title="Register a new writer. ">registerWriter</a> </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="SoundFileFactory_8hpp_source.html">SoundFileFactory.hpp</a></li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
</div>
|
||
|
<div id="footer-container">
|
||
|
<div id="footer">
|
||
|
SFML is licensed under the terms and conditions of the <a href="https://www.sfml-dev.org/license.php">zlib/png license</a>.<br>
|
||
|
Copyright © Laurent Gomila ::
|
||
|
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> ::
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|