VgaGames4

VgaGames4 - audio man-pages

[.. upper level ..]

# vg4->audio->play()

Play a loaded audio.

SYNTAX
void vg4->audio->play(int audc, VG_BOOL loop, VG_BOOL cresc)
FUNCTION PARAMETERS

audc | Audio-descriptor
loop | Whether play looping
cresc | Whether start (first) playing with crescendo

DESCRIPTION
Play a loaded audio. If the audio file is already playing, this function does nothing.
SEE ALSO
vg4->audio->play_after() vg4->audio->is_playing()