audio_stop_sync_group

Stop a synchronised group of tracks that are currently playing.

Syntax:

audio_stop_sync_group(group_index);


Argument Description
group_index The group index to stop playing.


Returns: N/A


Description

This function will stop the given sync group if it is playing, with the group index being the value returned when you created the group using the function audio_create_sync_group().


Example:

if mouse_check_button_pressed(mb_left)
   {
   audio_stop_sync_group(sg);
   }

The above code checks for a mouse click, and if one is detected it stops the sync group indexed in the variable "sg".


Back: Audio Synchronisation
Next: audio_pause_sync_group
© Copyright YoYo Games Ltd. 2018 All Rights Reserved