lovr.audio.isStarted

Returns whether an audio device is started.

started = lovr.audio.isStarted(type)

Arguments

NameTypeDefaultDescription
typeAudioType'playback' The type of device to check.

Returns

NameTypeDescription
startedboolean Whether the device is active.

See also