![]() |
• Sound Manager | ||
|
API Links
Developer Links
|
Sound::DelayDefined in:
Plays a sound after a given delay time.
C4Sound.hPrototype
Parameters
Description
Calling Delay schedules the sound object to be played after time milliseconds have elapsed. Once the delay period has passed, the sound is played just as if the Sound::Play function had been called.If the Sound::Stop function is called for a sound that is scheduled to play because the Delay function was previously called, then the play command is canceled. If the Sound::Pause function is called for a sound that is scheduled to play, then the time between the first Sound::Pause call and the balancing Sound::Resume call is not counted against the delay time. That is, the delay is paused as if the sound was playing silence until it was scheduled to begin playing.
See Also
|