HumanRender/Thirdparty/irrKlang/doc/dotnet/IrrKlang.ISoundEngine.Play2D_overload_5.html
2024-12-20 01:46:41 +08:00

54 lines
3.0 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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.Play2D Method (String, Boolean, Boolean, StreamMode)</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.Play2D Method (String, Boolean, Boolean, StreamMode)</h1>
</div>
</div>
<div id="nstext">
<p> loads a sound source (if not loaded already) from a file and plays it. </p>
<div class="syntax">
<span class="lang">[Visual Basic]</span>
<br />Overloads Public Function Play2D( _<br />   ByVal <i>soundFilename</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a>, _<br />   ByVal <i>playLooped</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a>, _<br />   ByVal <i>startPaused</i> As <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a>, _<br />   ByVal <i>streamMode</i> As <a href="IrrKlang.StreamMode.html">StreamMode</a> _<br />) As <a href="IrrKlang.ISound.html">ISound</a></div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />public <a href="IrrKlang.ISound.html">ISound</a> Play2D(<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a> <i>soundFilename</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a> <i>playLooped</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a> <i>startPaused</i>,<br />   <a href="IrrKlang.StreamMode.html">StreamMode</a> <i>streamMode</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> | <a href="IrrKlang.ISoundEngine.Play2D_overloads.html">ISoundEngine.Play2D Overload List</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="Play2D method">
</param>
<param name="Keyword" value="Play2D method, ISoundEngine class">
</param>
<param name="Keyword" value="ISoundEngine.Play2D method">
</param>
</object>
<hr />
<div id="footer">
<p>
<a>The irrKlang Sound Engine Documentation © 2003-2010 by Nikolaus Gebhardt.</a>
</p>
<p>
</p>
</div>
</div>
</body>
</html>