SyndicatQuebecoisdelaConstr.../SQCSim2021/external/irrKlang-64bit-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.AddFileFactory.html

54 lines
2.4 KiB
HTML
Raw Normal View History

<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ISoundEngine.AddFileFactory Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">IrrKlang.NET</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">ISoundEngine.AddFileFactory<72>Method<6F></h1>
</div>
</div>
<div id="nstext">
<p> Adds a file factory to the sound engine, making it possible to override file access of the sound engine. Derive your own class from IFileFactory, overwrite the openFile() method and return your own implemented System::IO::Stream to overwrite file access of irrKlang. </p>
<div class="syntax">
<span class="lang">[Visual<61>Basic]</span>
<br />Public<EFBFBD>Sub<EFBFBD>AddFileFactory( _<br /><EFBFBD><EFBFBD><EFBFBD>ByVal <i>fileFactory</i><EFBFBD>As<EFBFBD><a href="IrrKlang.IFileFactory.html">IFileFactory</a><EFBFBD>_<br />)</div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />public<EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemVoidClassTopic.htm">void</a><EFBFBD>AddFileFactory(<br /><EFBFBD><EFBFBD><EFBFBD><a href="IrrKlang.IFileFactory.html">IFileFactory</a><EFBFBD><i>fileFactory</i><br />);</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="IrrKlang.ISoundEngine.html">ISoundEngine Class</a> | <a href="IrrKlang.html">IrrKlang Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="AddFileFactory method">
</param>
<param name="Keyword" value="AddFileFactory method, ISoundEngine class">
</param>
<param name="Keyword" value="ISoundEngine.AddFileFactory method">
</param>
</object>
<hr />
<div id="footer">
<p>
<a>The irrKlang Sound Engine Documentation <20> 2003-2010 by Nikolaus Gebhardt.</a>
</p>
<p>
</p>
</div>
</div>
</body>
</html>