VgaGames 3 - Audio man-pages

[.. upper level ..]

VG3_audio_play()

Play a loaded sound.
SYNTAX
void VG3_audio_play(struct vg3_window *wstruct, int audkz, int doloop, int docresc)

FUNCTION PARAMETERS
wstruct Window-struct
audkz Audio-descriptor
doloop Whether and how to play it as a loop:
0 = no, 1 = yes (die away), 2 = yes (restart immediately)
docresc Whether start playing with crescendo

DESCRIPTION
Play a loaded sound. If it is already playing this function does nothing.

SEE ALSO
VG3_audio_isplaying() VG3_audio_pause() VG3_audio_suspend() VG3_audio_stop()