play

abstract fun play(volume: Float = this.volume, loop: Boolean = false)

Play this audio clip.

Parameters

volume

the volume to the audio. Defaults to the current volume.

loop

whether to loop this audio.