Audio.SetLooping

Audio.SetLooping ( 

number  Channel,

boolean Looping = true )

Example 1

Audio.SetLooping(CHANNEL_BACKGROUND, true);

Set the background audio channel to loop when the audio file reaches the end.

Example 2

Audio.SetLooping(CHANNEL_BACKGROUND, false);

Set the background audio channel to just stop when the audio file reaches the end.

Example 3

Audio.SetLooping(CHANNEL_EFFECTS, true);

Make the effects channel loop when the audio file in it reaches the end.

See also:  Related Actions