|
PauseSound | |
PauseSound SoundIndex, PanningValue | |
Parameters: SoundIndex = The Index of the sound you wish to pause PanningValue |
|
Returns: NONE | |
PauseSound will pause a sound from playing. The sound can be resumed later with the ResumeSound command FACTS: * When a played sound is paused, the GetSoundPlaying() function will return a true, enough though the sound is paused. Mini Tutorial: This larger example shows how you would load a sound file as sound #1, enable automatic looping and then play it. During the main Do/loop section of this program, the code allows the user to selectively pause/resume the playing sound with a tap of the spacekey() Note: In order for this example to work you would need a sound file for it to load.
|
Related Info: | GetSoundPlaying | PlaySound | ResumeSound | StopSound : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |