audio_sync_group_is_playing


描述

This function can be used to check if any audio in a synchronised group is playing. You are required to supply the synch group ID as returned by the function audio_create_sync_group().

NOTE: This functionality is not available for the HTML5 target platform.


语法:

audio_sync_group_is_playing(group_index);


参数 描述
group_index The group index to check.


返回:

N/A(无返回值)


例如:

if audio_sync_group_is_playing(group_one)
   {
   audio_stop_sync_group(group_one);
   }

The above code checks to see if the sync group group_one is currently playing and if it is, the group is stopped.