Difference between revisions of "API Sound.SetRate"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import)
Line 15: Line 15:
 
[[Variable types|ULONG]] ''Rate''
 
[[Variable types|ULONG]] ''Rate''
 
:The sample rate to set
 
:The sample rate to set
 +
  
 
==Return value==
 
==Return value==

Revision as of 21:53, 12 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)

No additional information