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=?) => unit
Return type
unit
stop
Stop playing audio. Will start playing from the beginning when play
is called again.
let stop: t => unit
Parameters
Return type
unit