VgaGames 3 - Audio man-pages

[.. upper level ..]

VG3_audio_suspend()

[added in version 1.1]

Suspend or continue playing audio generally.
SYNTAX
int VG3_audio_suspend(struct vg3_window *wstruct, int flag)

FUNCTION PARAMETERS
wstruct Window-struct
flag 0 = continue, 1 = suspend, or -1 = do not change

RETURN VALUE
Returns the previous value of muting.

DESCRIPTION
Suspend or continue playing audio generally and return the previous value. There is a difference to VG3_audio_pause(). VG3_audio_suspend() suspends all playing audio files, and when continuing them, the paused audios remain paused.

SEE ALSO
VG3_audio_play() VG3_audio_isplaying() VG3_audio_pause() VG3_audio_stop()