Difference between revisions of "API Sound.SetRate"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML Import to change Variable types into Variable Types)
Line 10: Line 10:
  
 
==Parameters==
 
==Parameters==
[[Variable types|HANDLE]] ''Sounds''
+
[[Variable Types|HANDLE]] ''Sounds''
 
:The handle of the sound object to modify
 
:The handle of the sound object to modify
  
[[Variable types|ULONG]] ''Rate''
+
[[Variable Types|ULONG]] ''Rate''
 
:The sample rate to set
 
:The sample rate to set
  

Revision as of 11:09, 10 June 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