Fork of Tangara with customizations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tangara-fw/luals-stubs/playback.lua

11 lines
599 B

--- @meta
--- The `playback` module contains Properties and functions for interacting
--- the device's audio pipeline.
--- @class playback
--- @field playing Property Whether or not audio is allowed to be played. if there is a current track, then this indicated whether playback is paused or unpaused. If there is no current track, this determines what will happen when the first track is added to the queue.
--- @field track Property The currently playing track.
--- @field position Property The current playback position within the current track, in seconds.
local playback = {}
return playback