Revision Difference
Global.SoundDuration#528214
<function name="SoundDuration" parent="Global" type="libraryfunc">
<description>
Returns the duration of the sound specified in seconds.
<bug issue="936">This only works properly for .wav files.</bug>
<bug issue="936">This only works properly on Windows for .wav files.</bug>
</description>
<realm>Shared</realm>
<args>
<arg name="soundName" type="string">The sound file path.</arg>
</args>
<rets>
<ret name="" type="number">Sound duration in seconds.</ret>
</rets>
</function>