SyndicatQuebecoisdelaConstr.../SQCSim2021/external/irrKlang-1.6.0/doc/dotnet/IrrKlang.ISoundSource.PlayLength.html

56 lines
2.4 KiB
HTML
Raw Normal View History

2021-10-19 10:27:59 -04:00
<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>PlayLength Property</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">ISoundSource.PlayLength Property</h1>
</div>
</div>
<div id="nstext">
<p> Returns the play length of the sound in milliseconds. Returns -1 if not known for this sound for example because its decoder does not support lenght reporting or it is a file stream of unknown size. Note: If the sound never has been played before, the sound engine will have to open the file and try to get the play lenght from there, so this call could take a bit depending on the type of file. </p>
<div class="syntax">
<span class="lang">[Visual<61>Basic]</span>
<br />Public<EFBFBD>ReadOnly<EFBFBD>Property<EFBFBD>PlayLength<EFBFBD>As<EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemUInt32ClassTopic.htm">UInt32</a></div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />public<EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemUInt32ClassTopic.htm">uint</a><EFBFBD>PlayLength<EFBFBD>{get;}</div>
<p>
</p>
<h4 class="dtH4">See Also</h4>
<p>
<a href="IrrKlang.ISoundSource.html">ISoundSource 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="PlayLength property">
</param>
<param name="Keyword" value="PlayLength property, ISoundSource class">
</param>
<param name="Keyword" value="ISoundSource.PlayLength property">
</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>