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
startedbooleanWhether the device is active.

See also