lovr.audio.start

Edit

Starts the active playback or capture device. By default the playback device is initialized and started, but this can be controlled using the t.audio.start flag in lovr.conf.

started = lovr.audio.start(type)

Arguments

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

Returns

NameTypeDescription
startedboolean Whether the device was successfully started.

Notes

Starting an audio device may fail if:

See also