Jump to content

API Sound.SetRate: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 3: Line 3:


<div style="width:25%; float:right" class="toc">
<div style="width:25%; float:right" class="toc">
===Class hierarchy===[[API |API ]]
===Class hierarchy===[[API Sound|Sound]]
:[[API Sound|Sound]]
:[[API Sound|SetRate]]
::SetRate
</div>
</div>
__TOC__
__TOC__

Revision as of 21:23, 11 May 2013

<sidebar>API contents</sidebar> Sets the current sample rate for the sound - this will stop the playing sound

===Class hierarchy===Sound

SetRate

Parameters

HANDLE Sounds

The handle of the sound object to modify

ULONG Rate

The sample rate to set

Return value

This call does not return a value

Detailed description

No additional information

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Sound.SetRate(sounds, rate)