audLoopSound

Category: Audio

Syntax:

audLoopSound:Int(sound:Int)


Parameters

Returns

Int



Summary

Plays a sound continuously in a loop and returns a channel handle.

Takes sound (sound handle from audLoadSound).

Returns a channel handle that can be used to control playback.

View detailed documentation online



Example
Local pistolSound:Int = audLoadSound("pistol.wav")

Local channel:Int = audLoopSound(pistolSound)

BambooBasic © 2026 Michael Denathorn