play

open suspend override fun play(volume: Float, loop: Boolean)

Play this stream of audio.

Parameters

volume

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

loop

whether to loop this audio. Defaults to the current looping