Difference between revisions of "API Sound.SetRate"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen)  | 
				 (XML import of API auto-gen)  | 
				||
| Line 18: | Line 18: | ||
===Examples===  | ===Examples===  | ||
====Calling in a calculation====  | ====Calling in a calculation====  | ||
| − | * Add to a calculation icon: ::Sound.SetRate(sounds, rate)  | + | * Add to a calculation icon: <pre class="brush:[C]">::Sound.SetRate(sounds, rate)</pre>  | 
Revision as of 15:35, 10 May 2013
<sidebar>API contents</sidebar> Sets the current sample rate for the sound - this will stop the playing sound
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)