Kaplay.AudioPlay
Types
t
type t = {mutable paused: bool}Fields
paused bool
Values
play
Start playing audio. Use audio.paused = true to pause it.
let play: (t, ~time: float=?) => unitReturn type
unit
stop
Stop playing audio. Will start playing from the beginning when play is called again.
let stop: t => unitParameters
Return type
unit